Description
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).
Published: 2025-04-16
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-11453 golang.org/x/net vulnerable to Cross-site Scripting
Github GHSA Github GHSA GHSA-vvgc-356p-c3xw golang.org/x/net vulnerable to Cross-site Scripting
Ubuntu USN Ubuntu USN USN-8089-1 Go Networking vulnerabilities
Ubuntu USN Ubuntu USN USN-8089-2 Go Networking vulnerabilities
Ubuntu USN Ubuntu USN USN-8089-3 ADSys, Juju Core, LXD vulnerabilities
History

Fri, 16 May 2025 23:45:00 +0000

Type Values Removed Values Added
References

Thu, 17 Apr 2025 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 16 Apr 2025 21:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 16 Apr 2025 17:30:00 +0000

Type Values Removed Values Added
Description 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).
Title Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Go

Published:

Updated: 2025-05-16T23:03:07.693Z

Reserved: 2025-01-08T19:11:42.834Z

Link: CVE-2025-22872

cve-icon Vulnrichment

Updated: 2025-05-16T23:03:07.693Z

cve-icon NVD

Status : Deferred

Published: 2025-04-16T18:16:04.183

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-22872

cve-icon Redhat

Severity : Moderate

Publid Date: 2025-04-16T17:13:02Z

Links: CVE-2025-22872 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses