p PatchFirst

CVE-2026-27136

CVE-2026-27136 · Invoking duplicate attributes can cause XSS in golang.org/x/net/html

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

Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.

CVSS 6.1 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • golang.org/x/net/html

    Versions
    • ≥ 0, < 0.55.0: Affected (semver)

    Update to 0.55.0

  • golang-golang-x-net Debian:12

    Versions
    • 1:0.10.0-1
    • 1:0.11.0-1
    • 1:0.14.0-1
    • 1:0.15.0-1
    • 1:0.15.0-2
    • 1:0.17.0+dfsg-1
    • 1:0.19.0+dfsg-1
    • 1:0.20.0+dfsg-1
    • 1:0.21.0+dfsg-1
    • 1:0.22.0+dfsg-1
    • 1:0.23.0+dfsg-1
    • 1:0.24.0+dfsg-1
    • 1:0.25.0+dfsg-1
    • 1:0.26.0+dfsg-1
    • 1:0.26.0+dfsg-2
    • 1:0.27.0-1
    • 1:0.27.0-2
    • 1:0.47.0-1
    • 1:0.47.0-2
    • 1:0.53.0-1
    • 1:0.53.0-2
    • 1:0.53.0-2~bpo13+1
    • 1:0.55.0-1
    • 1:0.56.0-1
    • 1:0.57.0-1
    • 1:0.58.0-1
    • 1:0.7.0+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-net Debian:13

    Versions
    • 1:0.27.0-2
    • 1:0.47.0-1
    • 1:0.47.0-2
    • 1:0.53.0-1
    • 1:0.53.0-2
    • 1:0.53.0-2~bpo13+1
    • 1:0.55.0-1
    • 1:0.56.0-1
    • 1:0.57.0-1
    • 1:0.58.0-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-net Debian:14

    Versions
    • 1:0.27.0-2
    • 1:0.47.0-1
    • 1:0.47.0-2
    • 1:0.53.0-1
    • 1:0.53.0-2
    • 1:0.53.0-2~bpo13+1
    Affected ranges
    • ECOSYSTEM: < 1:0.55.0-1

    Update to 1:0.55.0-1

  • golang-golang-x-net-dev Ubuntu:Pro:16.04:LTS

    Versions
    • 0.0+git20150226.3d87fd6-3
    • 0.0+git20151007.b846920+dfsg-1
    • 1:0.0+git20150817.66f0418-1
    • 1:0.0+git20160110.4fd4a9f-1
    • 1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm1
    • 1:0.0+git20160110.4fd4a9f-1ubuntu0.1~esm2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-net-dev Ubuntu:Pro:18.04:LTS

    Versions
    • 1:0.0+git20170629.c81e7f2+dfsg-1ubuntu1
    • 1:0.0+git20170629.c81e7f2+dfsg-1ubuntu2
    • 1:0.0+git20170629.c81e7f2+dfsg-2
    • 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm1
    • 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm2
    • 1:0.0+git20170629.c81e7f2+dfsg-2ubuntu0.1~esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • golang-golang-x-net-dev Ubuntu:Pro:20.04:LTS

    Versions
    • 1:0.0+git20190811.74dc4d7+dfsg-1
    • 1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm1
    • 1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm2
    • 1:0.0+git20190811.74dc4d7+dfsg-1ubuntu0.1~esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →