StackPatch is liveSee product

Back to CVE digest
Ubuntu USN · USN-8377-1

Template-Toolkit vulnerability

Published: Wed, 03 Jun 2026 13:24

CVE-2026-5090

Summary

Template-Toolkit could allow arbitrary HTML and JavaScript to be injected into generated output.

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.

Recommended actions per Ubuntu release

StackPatch playbook auto-generated per release codename and per affected package.

Ubuntu jammy

  • libtemplate-perl2.27-1ubuntu0.22.04.1apt_upgrade

    Standard apt upgrade. Install 2.27-1ubuntu0.22.04.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libtemplate-perl

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libtemplate-perl2.27-1ubuntu0.22.04.1apt_upgrade

    Standard apt upgrade. Install 2.27-1ubuntu0.22.04.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libtemplate-perl

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Ubuntu noble

  • libtemplate-perl2.27-1ubuntu0.24.04.1apt_upgrade

    Standard apt upgrade. Install 2.27-1ubuntu0.24.04.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libtemplate-perl

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libtemplate-perl2.27-1ubuntu0.24.04.1apt_upgrade

    Standard apt upgrade. Install 2.27-1ubuntu0.24.04.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libtemplate-perl

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Ubuntu questing

  • libtemplate-perl2.27-1ubuntu0.25.10.1apt_upgrade

    Standard apt upgrade. Install 2.27-1ubuntu0.25.10.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libtemplate-perl

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libtemplate-perl2.27-1ubuntu0.25.10.1apt_upgrade

    Standard apt upgrade. Install 2.27-1ubuntu0.25.10.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libtemplate-perl

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Ubuntu resolute

  • libtemplate-perl3.102-1ubuntu0.1apt_upgrade

    Standard apt upgrade. Install 3.102-1ubuntu0.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libtemplate-perl

    Most apt upgrades restart their service automatically. needrestart lists anything else.

  • libtemplate-perl3.102-1ubuntu0.1apt_upgrade

    Standard apt upgrade. Install 3.102-1ubuntu0.1 from the apt repo.

    sudo apt-get update
    sudo apt-get install --only-upgrade -y libtemplate-perl

    Most apt upgrades restart their service automatically. needrestart lists anything else.

Are YOU affected by USN-8377-1?

5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8377-1 (and any other live CVE) applies. Anonymous, no signup.

curl https://mindsparkstack.com/scan.sh | bash
Want this automated for your servers?

StackPatch runs this match against YOUR installed packages every hour

Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.