CVE-2026-25681

MEDIUM6.1EPSS 0.03%

Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html

Published: 5/22/2026Modified: 6/3/2026
Also known as:DEBIAN-CVE-2026-25681

Description

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.

Affected packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References (4)