You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.
Path to dependency file: /frontend/package.json
Path to vulnerable library: /frontend/node_modules/refractor/node_modules/prismjs/package.json
Vulnerabilities
*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
Vulnerable Libraries - prismjs-1.28.0.tgz, prismjs-1.27.0.tgz
prismjs-1.28.0.tgz
Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.
Library home page: https://registry.npmjs.org/prismjs/-/prismjs-1.28.0.tgz
Path to dependency file: /frontend/package.json
Path to vulnerable library: /frontend/node_modules/prismjs/package.json
Dependency Hierarchy:
prismjs-1.27.0.tgz
Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.
Library home page: https://registry.npmjs.org/prismjs/-/prismjs-1.27.0.tgz
Path to dependency file: /frontend/package.json
Path to vulnerable library: /frontend/node_modules/refractor/node_modules/prismjs/package.json
Dependency Hierarchy:
Found in base branch: master
Vulnerability Details
Prism (aka PrismJS) through 1.29.0 allows DOM Clobbering (with resultant XSS for untrusted input that contains HTML but does not directly contain JavaScript), because document.currentScript lookup can be shadowed by attacker-injected HTML elements.
Publish Date: 2025-03-03
URL: CVE-2024-53382
CVSS 3 Score Details (4.9)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2024-53382
Release Date: 2025-03-03
Fix Resolution: prismjs - 9000.0.1
The text was updated successfully, but these errors were encountered: