Rapid7 Vulnerability & Exploit Database

Red Hat OpenShift: CVE-2023-39318: golang: html/template: improper handling of HTML-like comments within script contexts

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat OpenShift: CVE-2023-39318: golang: html/template: improper handling of HTML-like comments within script contexts

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
09/08/2023
Created
11/01/2023
Added
11/01/2023
Modified
07/16/2024

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.

Solution(s)

  • linuxrpm-upgrade-buildah
  • linuxrpm-upgrade-containernetworking-plugins
  • linuxrpm-upgrade-microshift
  • linuxrpm-upgrade-openshift-clients
  • linuxrpm-upgrade-podman
  • linuxrpm-upgrade-runc
  • linuxrpm-upgrade-skopeo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;