-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Vulnerable Library - markdoc-0.12.4.tgz
Path to dependency file: /tutorials/package.json
Path to vulnerable library: /tutorials/package.json,/toolbar-app/package.json
Vulnerabilities
| Vulnerability | Severity | Dependency | Type | Fixed in (markdoc 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: /tutorials/package.json
Path to vulnerable library: /tutorials/package.json,/toolbar-app/package.json
Dependency Hierarchy:
- markdoc-0.12.4.tgz (Root Library)
- prism-3.2.0.tgz
- ❌ prismjs-1.29.0.tgz (Vulnerable Library)
- prism-3.2.0.tgz
Found in base branch: main
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