CVE-2024-32468
MEDIUM 5.4CVSS 3.1deno_doc's HTML generator vulnerable to Cross-site Scripting
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.
- Published
- 25 Nov 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-qqwr-j9mm-fhw6
- Sources
- NVDJSONOSV GHSA-qqwr-j9mm-fhw6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P | |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | deno_doc | < 0.119.0 | 0.119.0 |
References
- https://github.com/denoland/deno/security/advisories/GHSA-qqwr-j9mm-fhw6 · WEB
- https://github.com/denoland/deno_doc/blob/dc556c848831d7ae48f3eff2ababc6e75eb6b73e/src/html/templates/pages/search.js#L120-L144 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-32468 · ADVISORY
- https://github.com/denoland/deno_doc/commit/0f1ef3efbf16194730a29d93dcb9c02f6c490942 · WEB
- https://github.com/denoland/deno · PACKAGE
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 25 Nov 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Nov 2024)