CVE-2025-22872

NameCVE-2025-22872
DescriptionThe 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).
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1103586

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-golang-x-net (PTS)bullseye1:0.0+git20210119.5f4716e+dfsg-4vulnerable
bookworm1:0.7.0+dfsg-1vulnerable
sid, trixie1:0.27.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-golang-x-netsource(unstable)(unfixed)1103586

Notes

https://github.com/golang/go/issues/73070
Fixed by: https://github.com/golang/net/commit/e1fcd82abba34df74614020343be8eb1fe85f0d9 (v0.38.0)

Search for package or bug name: Reporting problems