CVE-2026-42506

6.1 MEDIUM
Published: May 22, 2026 Modified: May 29, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://go.dev/cl/781700
Source: security@golang.org
Issue Tracking
https://go.dev/issue/79571
Source: security@golang.org
Issue Tracking
https://groups.google.com/g/golang-announce/c/iI-mYSI0lu8
Source: security@golang.org
Mailing List
https://pkg.go.dev/vuln/GO-2026-5025
Source: security@golang.org
Vendor Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.1 / 10.0
EPSS (Exploit Probability)
0.2%
16th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

golang