CVEvulnerability
CVE-2025-22872
6.5 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2025-04-16
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L
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).
References
- https://go.dev/cl/662715 go.dev
- https://go.dev/issue/73070 go.dev
- https://groups.google.com/g/golang-announce/c/ezSKR9vqbqA groups.google.com
- https://pkg.go.dev/vuln/GO-2025-3595 pkg.go.dev
- https://security.netapp.com/advisory/ntap-20250516-0007/ security.netapp.com