UNKNOWN Go

Improper sanitization of CSS values in html/template

GO-2023-1751 · BIT-golang-2023-24539 · CVE-2023-24539

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

Angle brackets (<>) are not considered dangerous characters when inserted into CSS contexts. Templates containing multiple actions separated by a '/' character can result in unexpectedly closing the CSS context and allowing for injection of unexpected HTML, if executed with untrusted input.

Ready to move

Start Securing

Free, no credit card | First findings in minutes