WhatCyber

WhatCyber / Vulnerabilities / CVE-2026-42502

CVE-2026-42502: golang

MEDIUM severity

CVE-2026-42502 affects golang. It is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Its CVSS base score is 6.1 (medium). The EPSS model puts the chance of exploitation in the next 30 days at 0.2%.

Description

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.

Key facts

CVSS v3
6.1 (MEDIUM)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Published
2026-05-22
Last modified
2026-07-23
NVD status
Analyzed

Timeline

Weaknesses (CWE)

Affected products

References

More on WhatCyber