CVE 6.1 MEDIUM

Invoking incorrect handling of character references in DOCTYPE nodes in golang.org/x/net/html_CVE-2026-25681

6.1 / 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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.

Basic Information

ID CVE-2026-25681
Source Go
Published May 22, 2026 at 15:01
Modified May 22, 2026 at 17:46

Affected Product

Vendor golang.org/x/net
Product golang.org/x/net/html
Affected Versions golang.org/x/net golang.org/x/net/html 0

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.