CVE-2023-24540

CRITICAL9.8EPSS 0.29%

Improper handling of JavaScript whitespace in html/template

Published: 5/5/2023Modified: 4/28/2026
Also known as:DEBIAN-CVE-2023-24540

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.

Affected packages (4)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References (7)