Skip to main content
VulnerabilityPublished Updated

CVE-2026-5090: Libtemplate perl · Template::Plugin::HTML versions before 3.103 for Perl allows HTML and JavaScript to

Affects libtemplate-perlSource GCVE Database

0
Compare
Authoritative record:CVE-2026-5090· Medium 6.1

Not known to be exploited · CVSS 6.1 Medium · fixed in 2.27-1ubuntu0.22.04.1 : update libtemplate-perl when convenient.

Data as of 24 Nov 2026, 20:12 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 2.27-1ubuntu0.22.04.1, 2.27-1ubuntu0.24.04.1, 2.27-1ubuntu0.25.10.1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlibtemplate-perlpkg:deb/ubuntu/libtemplate-perl?arch=source&distro=resoluteOther threatsAffected
  • <3.102-1ubuntu0.1
Fixed in
  • 3.102-1ubuntu0.1
Ubuntu 25.10libtemplate-perlpkg:deb/ubuntu/libtemplate-perl?arch=source&distro=questingOther threatsAffected
  • <2.27-1ubuntu0.25.10.1
Fixed in
  • 2.27-1ubuntu0.25.10.1
Ubuntu 24.04 LTSlibtemplate-perlpkg:deb/ubuntu/libtemplate-perl?arch=source&distro=nobleOther threatsAffected
  • <2.27-1ubuntu0.24.04.1
Fixed in
  • 2.27-1ubuntu0.24.04.1
Ubuntu 22.04 LTSlibtemplate-perlpkg:deb/ubuntu/libtemplate-perl?arch=source&distro=jammyOther threatsAffected
  • <2.27-1ubuntu0.22.04.1
Fixed in
  • 2.27-1ubuntu0.22.04.1
Ubuntu 20.04 LTSlibtemplate-perlpkg:deb/ubuntu/libtemplate-perl?arch=source&distro=focalOther threatsAffected
  • =2.27-1build1
  • =2.27-1build2
Fixed in–
Ubuntu 18.04 LTSlibtemplate-perlpkg:deb/ubuntu/libtemplate-perl?arch=source&distro=bionicOther threatsAffected
  • =2.24-1.2build5
  • =2.27-1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…