Improper rendering of text nodes in golang.org/x/net/html
Date: 2023-08
Affected: go/golang.org/x/net
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2023-3978
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):