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
Aug 11, 2025

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
    NEW

    Explore Exposure Command

    Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.