Feed
6.5MEDIUM

CVE-2025-22872golang.org/x/net vulnerable to Cross-site Scripting

A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 0.6% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
0.6%
percentile 43%
Priority
24/100 low
how it is computed
Fix
Named by a source
CVE published 16 Apr 2025

Reference

None of the "Needs attention" rules apply right now.

EPSS 0.6% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • golang.org/x/net (Go) pkg:golang/golang.org/x/net

    • Affected< 0.38.0Fixed in0.38.0OSV (GO-2025-3595)
  • golang.org/x/net golang.org/x/net/html product:golangorgxnet/golangorgxnethtml

    • Affected< 0.38.0Affected range ends before0.38.0as published by CNA (CVE List)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
6.5 MEDIUM (version 3.1)
Score from
CISA-ADP
Attack vector
network
Attack complexity
high
Privileges required
none
User interaction
none
Weakness
CWE-79
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
no
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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).

Update history

  • 16 Apr 2025Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 17 min ago · osv 17 min ago · nvd 78 min ago · epss 17 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-vvgc-356p-c3xw, GO-2025-3595