5.4

CVE-2024-32468: denoland deno Cross-site Scripting

CVSS: 5.4v3.1MediumDeferred
AliasesGHSA-qqwr-j9mm-fhw6
Published 25-11-2024Last modified 25-11-2024

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.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.33%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 25-11-2024
    PublishedVulnerability first disclosed.
  2. 25-11-2024
    Last 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

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

20-09-202620-10-2026
EPSS score
0.33%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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