CVE-2025-22872

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-22872
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22872.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-22872
Aliases
Downstream
Related
Published
2025-04-16T18:16:04Z
Modified
2025-08-09T19:01:27Z
Summary
[none]
Details

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).

References

Affected packages