CVE-2024-32468

Source
https://cve.org/CVERecord?id=CVE-2024-32468
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32468.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-32468
Aliases
Published
2024-11-25T18:44:27.785Z
Modified
2026-08-12T03:51:21.367265530Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Improper neutralization of input during web page generation ("Cross-site Scripting") in deno_doc HTML generator
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/32xxx/CVE-2024-32468.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/denoland/deno

Affected ranges

Type
GIT
Repo
https://github.com/denoland/deno
Events
Database specific
Show details
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "deno: < 1.42.0"
        },
        {
            "last_affected": "deno: < 1.42.0"
        }
    ]
}

Affected versions

deno: < 1.*
deno: < 1.42.0
v1.*
v1.42.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32468.json"

Git / github.com/denoland/deno_doc

Affected ranges

Type
GIT
Repo
https://github.com/denoland/deno_doc
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "deno_doc:  < 0.119.0"
        },
        {
            "last_affected": "deno_doc:  < 0.119.0"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

deno/0.*
deno/0.119.0
deno_doc: < 0.*
deno_doc: < 0.119.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-32468.json"