CVE-2024-32468: denoland deno Cross-site Scripting
Vulnerability summary
CVE-2024-32468 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in denoland deno. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 25.2% of scored vulnerabilities.
Timeline
- 25-11-2024PublishedVulnerability first disclosed.
- 25-11-2024Last modifiedVulnerability information updated.
Description
Deno is a runtime for JavaScript and TypeScript written in rust. Several cross-site scripting vulnerabilities existed in the `deno_doc` crate which lead to Self-XSS with deno doc --html. 1.) XSS in generated `search_index.js`, `deno_doc` outputs a JavaScript file for searching. However, the generated file used `innerHTML` on unsanitzed HTML input. 2.) XSS via property, method and enum names, `deno_doc` did not sanitize property names, method names and enum names. The first XSS most likely didn't have an impact since `deno doc --html` is expected to be used locally with own packages.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · Crates.ioEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
25%
Versus all other CVEs
30-day change
0.00 pp
From 0.33% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- deno_doc< 0.119.0
Denoland1 product
- denodeno_doc: < 0.119.0 | deno: < 1.42.0
2 vendors · 2 products
References
5 links- github.com/denoland/denoPACKAGE