Skip to main content
← All vulnerabilities
CVE-2025-22872GO-2025-3595GHSA-VVGC-356P-C3XW

Incorrect Neutralization of Input During Web Page Generation in x/net in golang.org/x/net

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.38.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • golang.org/x/net/html

    fixed in 0.38.0

  • golang.org/x/netGo

    fixed in 0.38.0

References 4

go.dev

groups.google.com

pkg.go.dev