Rapid7 Vulnerability & Exploit Database

Red Hat OpenShift: CVE-2023-39319: golang: html/template: improper handling of special tags 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-39319: golang: html/template: improper handling of special tags 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 apply the proper rules for handling occurrences of "<script", "<!--", and "</script" within JS literals in <script> contexts. This may cause the template parser to improperly consider script contexts to be terminated early, causing actions to be improperly escaped. This could 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-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

;