p PatchFirst

CVE-2023-29400

CVE-2023-29400 · Improper handling of empty HTML attributes in html/template

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

Templates containing actions in unquoted HTML attributes (e.g. "attr={{.}}") executed with empty input can result in output with unexpected results when parsed due to HTML normalization rules. This may allow injection of arbitrary attributes into tags.

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 →