CVE-2023-24540

CRITICALCVSS 9.8/10EPSS 1.55%

Last modified

CVE-2023-24540 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 1.55% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
9.8/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
1.55%

71.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GolangGo< 1.19.9
GolangGo>= 1.20.0, < 1.20.4

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2023-24540?
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.
How severe is CVE-2023-24540?
CVE-2023-24540 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 1.55% probability of exploitation in the next 30 days.
How do I fix CVE-2023-24540?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2023-24540?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST