vulnerability
Red Hat OpenShift: CVE-2023-39318: golang: html/template: improper handling of HTML-like comments within script contexts
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 6 | (AV:N/AC:M/Au:N/C:P/I:P/A:N) | Sep 8, 2023 | Nov 1, 2023 | Aug 11, 2025 |
Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
Sep 8, 2023
Added
Nov 1, 2023
Modified
Aug 11, 2025
Description
The html/template package does not properly handle HTML-like "" comment tokens, nor hashbang "#!" comment tokens, in <script> contexts. This may cause the template parser to improperly interpret the contents of <script> contexts, causing actions to be improperly escaped. This may be leveraged to perform an XSS attack.
Solutions
linuxrpm-upgrade-buildahlinuxrpm-upgrade-containernetworking-pluginslinuxrpm-upgrade-microshiftlinuxrpm-upgrade-openshift-clientslinuxrpm-upgrade-podmanlinuxrpm-upgrade-runclinuxrpm-upgrade-skopeo
References
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.