Live threats

All CVEs / denoland

CVE-2024-32468denoland deno

Medium 5.4

Priority
32
CVSS 3.1
5.4
EPSS
0.5%
probability of exploitation in 30 days · percentile 31
Auth required
Yes
Published
Nov 25, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for deno.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io deno_doc < 0.119.0 0.119.0 cargo update -p deno_doc --precise 0.119.0

Per OSV / GitHub Advisories (GHSA-qqwr-j9mm-fhw6). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.