zc_plugin_dm
zc_plugin_dm copied to clipboard
CVE-2024-11831 (Medium) detected in serialize-javascript-4.0.0.tgz, serialize-javascript-5.0.1.tgz
CVE-2024-11831 - Medium Severity Vulnerability
Vulnerable Libraries - serialize-javascript-4.0.0.tgz, serialize-javascript-5.0.1.tgz
Serialize JavaScript to a superset of JSON that includes regular expressions and functions. Library home page: https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-4.0.0.tgz Path to dependency file: /dmreactplugin/package.json Path to vulnerable library: /dmreactplugin/package.json
Dependency Hierarchy: Serialize JavaScript to a superset of JSON that includes regular expressions and functions. Library home page: https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz Path to dependency file: /dmreactplugin/package.json Path to vulnerable library: /dmreactplugin/package.json
Dependency Hierarchy:serialize-javascript-4.0.0.tgz
serialize-javascript-5.0.1.tgz
Found in HEAD commit: 41f949b863ead7c74b72a01845dbe0d88c24a364
Found in base branch: main
Vulnerability Details
A flaw was found in npm-serialize-javascript. The vulnerability occurs because the serialize-javascript module does not properly sanitize certain inputs, such as regex or other JavaScript object types, allowing an attacker to inject malicious code. This code could be executed when deserialized by a web browser, causing Cross-site scripting (XSS) attacks. This issue is critical in environments where serialized data is sent to web clients, potentially compromising the security of the website or web application using this package.
Publish Date: 2025-02-10
URL: CVE-2024-11831
CVSS 3 Score Details (5.4)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: Required
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-76p7-773f-r4q5
Release Date: 2025-02-10
Fix Resolution: serialize-javascript - 6.0.2
Step up your Open Source Security Game with Mend here