GitHub Advisoryadvisory · Go

GHSA-2wrh-6pvc-2jm9 Improper rendering of text nodes in golang.org/x/net/html

MEDIUM Published 2023-08-02 Modified 2023-10-13 Official page ↗
Aliases
CVE-2023-3978
Ecosystem
Go
Packages
golang.org/x/net
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2023-10-11

Affected packages

• Go golang.org/x/net: < 0.13.0 → fixed in 0.13.0

Description

Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. This could lead to an XSS attack.

Related

Alias · CVE (1)

  • CVE-2023-3978 Text nodes not in the HTML namespace are incorrectly literally rendered, causing text which should be escaped to not be. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References