Skip to content
Heist/ feed
UnratedFix available

UBUNTU-CVE-2026-5090

Type: advisorySource: OSV1 source record

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 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.

Announced Source revision 1
Original source ↗

UBUNTU-CVE-2026-5090

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:UBUNTU-CVE-2026-5090

libtemplate-perl

Source reference: /affected/0/package/name

Affected versions
2.24-1.2build1

Source reference: /affected/0/versions

2.24-1.2build2

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

libtemplate-perl

Source reference: /affected/1/package/name

Affected versions
2.24-1.2build5

Source reference: /affected/1/versions

2.27-1

Source reference: /affected/1/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

libtemplate-perl

Source reference: /affected/2/package/name

Affected versions
2.27-1build1

Source reference: /affected/2/versions

2.27-1build2

Source reference: /affected/2/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

libtemplate-perl

Source reference: /affected/3/package/name

Affected versions
2.27-1build4

Source reference: /affected/3/versions

2.27-1build5

Source reference: /affected/3/versions

Fixed versions
2.27-1ubuntu0.22.04.1

Source reference: /affected/3/ranges

Prerequisites
Not stated in this record

libtemplate-perl

Source reference: /affected/4/package/name

Affected versions
2.27-1build7

Source reference: /affected/4/versions

2.27-1build8

Source reference: /affected/4/versions

2.27-1build9

Source reference: /affected/4/versions

2.27-1build10

Source reference: /affected/4/versions

Fixed versions
2.27-1ubuntu0.24.04.1

Source reference: /affected/4/ranges

Prerequisites
Not stated in this record

libtemplate-perl

Source reference: /affected/5/package/name

Affected versions
2.27-1build11

Source reference: /affected/5/versions

Fixed versions
2.27-1ubuntu0.25.10.1

Source reference: /affected/5/ranges

Prerequisites
Not stated in this record

libtemplate-perl

Source reference: /affected/6/package/name

Affected versions
2.27-1build11

Source reference: /affected/6/versions

3.102-1

Source reference: /affected/6/versions

Fixed versions
3.102-1ubuntu0.1

Source reference: /affected/6/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "libtemplate-perl",
      "purl": "pkg:deb/ubuntu/libtemplate-perl?arch=source&distro=xenial",
      "ecosystem": "Ubuntu:16.04:LTS"
    },
    "versions": [
      "2.24-1.2build1",
      "2.24-1.2build2"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5090.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "libtemplate-perl",
          "binary_version": "2.24-1.2build2"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "libtemplate-perl",
      "purl": "pkg:deb/ubuntu/libtemplate-perl?arch=source&distro=bionic",
      "ecosystem": "Ubuntu:18.04:LTS"
    },
    "versions": [
      "2.24-1.2build5",
      "2.27-1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5090.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "libtemplate-perl",
          "binary_version": "2.27-1"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "libtemplate-perl",
      "purl": "pkg:deb/ubuntu/libtemplate-perl?arch=source&distro=focal",
      "ecosystem": "Ubuntu:20.04:LTS"
    },
    "versions": [
      "2.27-1build1",
      "2.27-1build2"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5090.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "libtemplate-perl",
          "binary_version": "2.27-1build2"
        }
      ]
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.27-1ubuntu0.22.04.1"
          }
        ]
      }
    ],
    "package": {
      "name": "libtemplate-perl",
      "purl": "pkg:deb/ubuntu/libtemplate-perl?arch=source&distro=jammy",
      "ecosystem": "Ubuntu:22.04:LTS"
    },
    "versions": [
      "2.27-1build4",
      "2.27-1build5"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5090.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "libtemplate-perl",
          "binary_version": "2.27-1ubuntu0.22.04.1"
        }
      ],
      "availability": "No subscription required"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.27-1ubuntu0.24.04.1"
          }
        ]
      }
    ],
    "package": {
      "name": "libtemplate-perl",
      "purl": "pkg:deb/ubuntu/libtemplate-perl?arch=source&distro=noble",
      "ecosystem": "Ubuntu:24.04:LTS"
    },
    "versions": [
      "2.27-1build7",
      "2.27-1build8",
      "2.27-1build9",
      "2.27-1build10"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5090.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "libtemplate-perl",
          "binary_version": "2.27-1ubuntu0.24.04.1"
        }
      ],
      "availability": "No subscription required"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "2.27-1ubuntu0.25.10.1"
          }
        ]
      }
    ],
    "package": {
      "name": "libtemplate-perl",
      "purl": "pkg:deb/ubuntu/libtemplate-perl?arch=source&distro=questing",
      "ecosystem": "Ubuntu:25.10"
    },
    "versions": [
      "2.27-1build11"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5090.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "libtemplate-perl",
          "binary_version": "2.27-1ubuntu0.25.10.1"
        }
      ],
      "availability": "No subscription required"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "3.102-1ubuntu0.1"
          }
        ]
      }
    ],
    "package": {
      "name": "libtemplate-perl",
      "purl": "pkg:deb/ubuntu/libtemplate-perl?arch=source&distro=resolute",
      "ecosystem": "Ubuntu:26.04:LTS"
    },
    "versions": [
      "2.27-1build11",
      "3.102-1"
    ],
    "database_specific": {
      "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-5090.json"
    },
    "ecosystem_specific": {
      "binaries": [
        {
          "binary_name": "libtemplate-perl",
          "binary_version": "3.102-1ubuntu0.1"
        }
      ],
      "availability": "No subscription required"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#5796 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement