Advisory

USN-8377-1

Also known as: CVE-2026-5090

Summary

libtemplate-perl vulnerability

Details

It was discovered that Template-Toolkit did not properly escape single
quotes in the html_filter function of Template::Plugin::HTML. An attacker
could possibly use this issue to inject arbitrary HTML and JavaScript into
generated output.

Severity

Not rated by the source.

Dates

Published
2026-06-03 13:24 UTC
Modified
2026-06-03 22:18 UTC

Affected packages and fixes

libtemplate-perl

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 2.27-1ubuntu0.22.04.1 (ecosystem)

Fixed versions

2.27-1ubuntu0.22.04.1

Fix

  • Fixed version 2.27-1ubuntu0.22.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libtemplate-perl

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 2.27-1ubuntu0.24.04.1 (ecosystem)

Fixed versions

2.27-1ubuntu0.24.04.1

Fix

  • Fixed version 2.27-1ubuntu0.24.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libtemplate-perl

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 2.27-1ubuntu0.25.10.1 (ecosystem)

Fixed versions

2.27-1ubuntu0.25.10.1

Fix

  • Fixed version 2.27-1ubuntu0.25.10.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libtemplate-perl

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 3.102-1ubuntu0.1 (ecosystem)

Fixed versions

3.102-1ubuntu0.1

Fix

  • Fixed version 3.102-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences