cve.bz

CVE-2025-22872

6.5 mediumEPSS 0.5%

Medium (6.5). EPSS 0.5% chance of exploitation in the next 30 days. Fixed in golang.org/x/net 0.38.0.

The tokenizer incorrectly interprets tags with unquoted attribute values that end with a solidus character (/) as self-closing. When directly using Tokenizer, this can result in such tags incorrectly being marked as self-closing, and when using the Parse functions, this can result in content following such tags as being placed in the wrong scope during DOM construction, but only when tags are in foreign content (e.g. <math>, <svg>, etc contexts).

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
EPSS
0.5% chance of exploitation in the next 30 days; higher than 45% of CVEs (scores of 2026-10-31)
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vvgc-356p-c3xwGogolang.org/x/net<0.38.00.38.0
GO-2025-3595Gogolang.org/x/net<0.38.00.38.0

References

Check your stackJSON