UNKNOWN Go
Improper handling of JavaScript whitespace in html/template
GO-2023-1752 · BIT-golang-2023-24540 · CVE-2023-24540
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
Not all valid JavaScript whitespace characters are considered to be whitespace. Templates containing whitespace characters outside of the character set "\t\n\f\r\u0020\u2028\u2029" in JavaScript contexts that also contain actions may not be properly sanitized during execution.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes