Security Resilience

CVE-2026-42502

Golang Net ≤ 0.55.0

Published
22 May 2026
Modified
23 July 2026
Patch / advisory
CVSS Score v3.1 6.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.0032 17th percentile
Risk Priority 46 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-42502 is a medium-severity Improper Restriction of Rendered UI Layers or Frames (CWE-1021) vulnerability in Golang Net. Its CVSS base score is 6.1 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Input Capture (T1056); ranked at the 17th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1056 Input Capture Collection
Adversaries may use methods of capturing user input to obtain credentials or collect information.
T1056.002 GUI Input Capture Collection
Adversaries may mimic common operating system GUI components to prompt users for credentials with a seemingly legitimate prompt.
T1204 User Execution Execution
An adversary may rely upon specific actions by a user in order to gain execution.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-25681Same product: Golang Net
CVE-2026-27136Same product: Golang Net
CVE-2026-42506Same product: Golang Net
CVE-2026-39821Same product: Golang Net
CVE-2026-25680Same product: Golang Net
CVE-2023-47774Shared CWE-1021
CVE-2024-11695Shared CWE-1021
CVE-2026-3254Shared CWE-1021
CVE-2024-31324Shared CWE-1021
CVE-2025-65922Shared CWE-1021

Affected Assets

golang
net
≤ 0.55.0

Mitigating Controls

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require implementing frame-ancestors / X-Frame-Options controls that prevent this weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing frame protections, but does not itself implement the control.

prevents

Training developers on web application security can make them aware of clickjacking and the need for X-Frame-Options or CSP frame-ancestors headers, but this is a specific technical implementation detail that requires deliberate coding, and not all developers receive this specialized training; the remainder is developers who lack the specific knowledge or who omit the protection despite knowing about it.

blocks

Web filtering blocks access to malicious or unauthorized websites by IP/domain, but CWE-1021 clickjacking is a flaw in how the application renders frames and UI layers, which is not addressed by blocking network destinations.

prevents

Secure coding practices directly require implementation of frame-busting headers or CSP frame-ancestors directives.

prevents

A.8.30 carries secure coding (8.28) and security testing (8.29) into the supplier contract, so clickjacking protections (X-Frame-Options, CSP frame-ancestors) are required of outsourced web development the same way those practices are; the effect is partial because it depends on supplier implementation rigour and the clause's ceiling on software weaknesses is partial.

finds

A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. Clickjacking does surface as CVEs in third-party components (e.g., CVE-2017-5697 firmware, CVE-2017-4015 DLP product), so A.8.8 finds that minority. The bulk of CWE-1021, however, is a first-party web application configuration/coding defect (missing X-Frame-Options / CSP frame-ancestors), which A.8.8's disclosure-based programme does not reach.

References