CVE-2026-42506Golang Net
Medium 6.1 No auth needed
Follow: this CVE · Golang · Golang Net We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Auth required
- No
- Published
- May 22, 2026
- Updated
- Jul 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Net.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | golang.org/x/net |
< 0.55.0 |
0.55.0 |
go get golang.org/x/net@v0.55.0 |
Per OSV / GitHub Advisories (GO-2026-5025). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | net | < 0.55.0 |
Official advisories
- Security update for containerized-data-importer · SUSE · SUSE-SU-2026:4209-1 · Sep 16, 2026 Critical
- Security update for containerized-data-importer1.65 · SUSE · openSUSE-SU-2026:21824-1 · Sep 9, 2026 Critical
- Security update for glab · SUSE · openSUSE-SU-2026:21662-1 · Aug 26, 2026 Critical
Also: SUSE (+35)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev Issue Tracking
- go.dev Issue Tracking
- groups.google.com Mailing List
- pkg.go.dev Vendor Advisory