CVE-2025-22872
Last modified
CVE-2025-22872 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.45% chance of exploitation in the next 30 days.
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).
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-22872?
How severe is CVE-2025-22872?
How do I fix CVE-2025-22872?
Are you affected by CVE-2025-22872?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
