CVE-2024-32468
CVSS V2 None
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2024-32468
- Assigner
- GitHub_M
- Vulnerability Status
- PUBLISHED
- Published Version
- 2024-11-25T18:44:27.785Z
- Last Modified Date
- 2024-11-25T19:26:26.427Z
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://github.com/denoland/deno/security/advisories/GHSA-qqwr-j9mm-fhw6 | x_refsource_CONFIRM |
https://github.com/denoland/deno_doc/blob/dc556c848831d7ae48f3eff2ababc6e75eb6b73e/src/html/templates/pages/search.js#L120-L144 | x_refsource_MISC |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2024-32468 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-32468 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-11-26 13:12:13 | Added to TrackCVE |