Feed
6.1MEDIUM

CVE-2026-42506Invoking incorrect handling of namespaced elements in foreign content in golang.org/x/net/html

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

Exploited in the wild
Not in KEV
EPSS
0.3%
percentile 19%
Priority
18/100 low
how it is computed
Fix
Named by a source
CVE published 22 May 2026

Reference

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

EPSS 0.3% (+0) · Network attack vector (+10) · No privileges required (+5)

Immediate actions

Who should check

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

    • Affected< 0.55.0Fixed in0.55.0OSV (GO-2026-5025)
  • golang net product:golang/net

    • Affected< 0.55.0Affected range ends before0.55.0as published by CPE data (via the NVD API)
  • golang.org/x/net golang.org/x/net/html product:golangorgxnet/golangorgxnethtml

    • Affected< 0.55.0Affected range ends before0.55.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.1 MEDIUM (version 3.1)
Score from
CISA-ADP
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
required
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)Parsing arbitrary HTML which is then rendered using Render can result in an unexpected HTML tree. This can be leveraged to execute XSS attacks in applications that attempt to sanitize input HTML before rendering.

Update history

  • 22 May 2026Published

References

Sources

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

Last checked: kev 20 min ago · osv 20 min ago · nvd 81 min ago · epss 20 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GO-2026-5025