Description
Vulnerable Library - preset-classic-3.8.1.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Found in HEAD commit: 68950d52560c37da67bd9eb70de5c75ae4137f10
Vulnerabilities
Vulnerability | Severity | Dependency | Type | Fixed in (preset-classic version) | Remediation Possible** | |
---|---|---|---|---|---|---|
CVE-2024-53382 | 4.9 | prismjs-1.29.0.tgz | Transitive | N/A* | ❌ |
*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
CVE-2024-53382
Vulnerable Library - prismjs-1.29.0.tgz
Lightweight, robust, elegant syntax highlighting. A spin-off project from Dabblet.
Library home page: https://registry.npmjs.org/prismjs/-/prismjs-1.29.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /package.json
Dependency Hierarchy:
- preset-classic-3.8.1.tgz (Root Library)
- theme-classic-3.8.1.tgz
- ❌ prismjs-1.29.0.tgz (Vulnerable Library)
- theme-classic-3.8.1.tgz
Found in HEAD commit: 68950d52560c37da67bd9eb70de5c75ae4137f10
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:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: Low
- User Interaction: None
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://nvd.nist.gov/vuln/detail/CVE-2024-53382
Release Date: 2025-03-03
Fix Resolution: prismjs - 1.30.0
Step up your Open Source Security Game with Mend here