p PatchFirst

CVE-2023-24539

CVE-2023-24539 · Improper sanitization of CSS values in html/template

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, if executed with untrusted input.

CVSS 7.3 · High · EPSS 1.0% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • html/template

    Versions
    • ≥ 0, < 1.19.9: Affected (semver)
    • ≥ 1.20.0-0, < 1.20.4: Affected (semver)

    Update to 1.19.9; Update to 1.20.4

  • golang-1.19 Debian:12

    Versions
    • 1.19.10-1
    • 1.19.10-2
    • 1.19.11-1
    • 1.19.12-1
    • 1.19.12-2
    • 1.19.12-2~bpo11+1
    • 1.19.12-2~bpo12+1
    • 1.19.13-1
    • 1.19.13-1~bpo11+1
    • 1.19.13-1~bpo12+1
    • 1.19.8-2
    • 1.19.9-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →