CVE catalog

CVE-2026-5090

Template::Plugin::HTML versions before 3.103 for Perl allows HTML and JavaScript to be injected. The html_filter function did not escape single quotes. HTML attributes inside of single quotes could b

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 25, 2026

Template::Plugin::HTML versions before 3.103 for Perl allows HTML and JavaScript to be injected. The html_filter function did not escape single quotes. HTML attributes inside of single quotes could be have code injected. For example, the variable "var" in <a id='ref' title='[% var | html %]'> would not be properly escaped. An attacker could insert some limited HTML and JavaScript, for example, var = " ' onclick='while (true) { alert(1) }'" Note that arbitrary HTML and JavaScript would be difficult to inject, because angle brackets, ampersands and double-quotes would still be escaped.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibtemplate-perlsid3.106-1fixed
Debianlibtemplate-perlforky3.106-1fixed
Debianlibtemplate-perltrixie2.27-1vulnerable
Debianlibtemplate-perlbookworm2.27-1vulnerable
Cpelibtemplate-perlNot reported2.27-1ubuntu0.24.04.1fixed
Cpelibtemplate-perlNot reportedNot reportedvulnerable
Ubuntulibtemplate-perl16.042.24-1.2build1vulnerable
Ubuntulibtemplate-perl16.042.24-1.2build2vulnerable
Ubuntulibtemplate-perl18.042.24-1.2build5vulnerable
Ubuntulibtemplate-perl18.042.27-1vulnerable
Ubuntulibtemplate-perl20.042.27-1build1vulnerable
Ubuntulibtemplate-perl20.042.27-1build2vulnerable
Ubuntulibtemplate-perl22.042.27-1build4vulnerable
Ubuntulibtemplate-perl22.042.27-1build5vulnerable
Ubuntulibtemplate-perl22.042.27-1ubuntu0.22.04.1fixed
Ubuntulibtemplate-perl24.042.27-1build7vulnerable
Ubuntulibtemplate-perl24.042.27-1build8vulnerable
Ubuntulibtemplate-perl24.042.27-1build9vulnerable
Ubuntulibtemplate-perl24.042.27-1build10vulnerable
Ubuntulibtemplate-perl24.042.27-1ubuntu0.24.04.1fixed
Ubuntulibtemplate-perl25.102.27-1build11vulnerable
Ubuntulibtemplate-perl25.102.27-1ubuntu0.25.10.1fixed
Ubuntulibtemplate-perl26.042.27-1build11vulnerable
Ubuntulibtemplate-perl26.043.102-1vulnerable
Ubuntulibtemplate-perl26.043.102-1ubuntu0.1fixed
Ubuntulibtemplate-perl22.042.27-1build4vulnerable
Ubuntulibtemplate-perl22.042.27-1build5vulnerable
Ubuntulibtemplate-perl22.042.27-1ubuntu0.22.04.1fixed
Ubuntulibtemplate-perl24.042.27-1build7vulnerable
Ubuntulibtemplate-perl24.042.27-1build8vulnerable
Ubuntulibtemplate-perl24.042.27-1build9vulnerable
Ubuntulibtemplate-perl24.042.27-1build10vulnerable
Ubuntulibtemplate-perl24.042.27-1ubuntu0.24.04.1fixed
Ubuntulibtemplate-perl25.102.27-1build11vulnerable
Ubuntulibtemplate-perl25.102.27-1ubuntu0.25.10.1fixed
Ubuntulibtemplate-perl26.042.27-1build11vulnerable
Ubuntulibtemplate-perl26.043.102-1vulnerable
Ubuntulibtemplate-perl26.043.102-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibtemplate-perlsourcesid3.102-3not yet assignedNot reported[1137160]
Debianlibtemplate-perlsourceforky3.102-3not yet assignedNot reported[1137160]
Debianlibtemplate-perlsourcetrixie(unfixed)not yet assignedNot reported[1137160]
Debianlibtemplate-perlsourcebookworm(unfixed)not yet assignedNot reported[1137160]
Cpelibtemplate-perlcpeNot reported2.27-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntulibtemplate-perldeb22.042.27-1ubuntu0.22.04.1Not reportedUBUNTU-CVE-2026-5090Not reported
Ubuntulibtemplate-perldeb24.042.27-1ubuntu0.24.04.1Not reportedUBUNTU-CVE-2026-5090Not reported
Ubuntulibtemplate-perldeb25.102.27-1ubuntu0.25.10.1Not reportedUBUNTU-CVE-2026-5090Not reported
Ubuntulibtemplate-perldeb26.043.102-1ubuntu0.1Not reportedUBUNTU-CVE-2026-5090Not reported
Ubuntulibtemplate-perldeb22.042.27-1ubuntu0.22.04.1Not reportedUSN-8377-1Not reported
Ubuntulibtemplate-perldeb24.042.27-1ubuntu0.24.04.1Not reportedUSN-8377-1Not reported
Ubuntulibtemplate-perldeb25.102.27-1ubuntu0.25.10.1Not reportedUSN-8377-1Not reported
Ubuntulibtemplate-perldeb26.043.102-1ubuntu0.1Not reportedUSN-8377-1Not reported

[Debian bug #1137160]

Notes

[trixie] libtemplate-perl: Minor issue [bookworm] libtemplate-perl: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libtemplate-perl]

    Details (2)
    • 2.27-1+b5 · amd64 · bookworm

      Affected

      nvd · libtemplate-perl · debian · bookworm; nvd · libtemplate-perl · debian · 12

    • 2.27-1+b5 · arm64 · bookworm

      Affected

      nvd · libtemplate-perl · debian · bookworm; nvd · libtemplate-perl · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libtemplate-perl]

    Details (2)
    • 2.27-1+b8 · amd64 · trixie

      Affected

      nvd · libtemplate-perl · debian · 13

    • 2.27-1+b8 · arm64 · trixie

      Affected

      nvd · libtemplate-perl · debian · 13

Observed:

References