vulnerability

Red Hat OpenShift: CVE-2023-39319: golang: html/template: improper handling of special tags within script contexts

Severity
6
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:N)
Published
Sep 8, 2023
Added
Nov 1, 2023
Modified
Mar 30, 2026

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.

Solutions

linuxrpm-upgrade-buildahlinuxrpm-upgrade-containernetworking-pluginslinuxrpm-upgrade-microshiftlinuxrpm-upgrade-openshift-clientslinuxrpm-upgrade-podmanlinuxrpm-upgrade-skopeo

References

    Title
    Rapid7 Labs

    2026 Global Threat Landscape Report

    The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.