CVE-2023-24540 - CVE House
Back to Database
Status published Unknown CVE-2023-24540

Improper handling of JavaScript whitespace in html/template

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2023-24540

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Juho Nurminen of Mattermost

Affected Vendor

Go standard library

View all reports →

Affected Software

html/template
Vulnerable Versions:
0, 1.20.0-0

Timeline

Official Publish: May 11th, 2023
Last Modified: January 24th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.