react-scripts-5.0.1.tgz: 3 vulnerabilities (highest severity is: 7.5) #3123
Labels
external-request
Bugs and features reported by individuals from other teams in Trimble
Mend: dependency security vulnerability
Security vulnerability detected by Mend
Path to dependency file: /react-workspace/test-web-components/package.json
Path to vulnerable library: /react-workspace/test-react-v18/package.json,/react-workspace/test-web-components/package.json
Found in HEAD commit: c67ed1db1039304e347beccda3cc57739b39aba8
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 Library - nth-check-1.0.2.tgz
performant nth-check parser & compiler
Library home page: https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz
Path to dependency file: /react-workspace/test-react-v18/package.json
Path to vulnerable library: /react-workspace/test-react-v18/package.json
Dependency Hierarchy:
Found in HEAD commit: c67ed1db1039304e347beccda3cc57739b39aba8
Found in base branch: main
Vulnerability Details
nth-check is vulnerable to Inefficient Regular Expression Complexity
Publish Date: 2021-09-17
URL: CVE-2021-3803
CVSS 3 Score Details (7.5)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: fb55/nth-check@v2.0.0...v2.0.1
Release Date: 2021-09-17
Fix Resolution: nth-check - v2.0.1
Vulnerable Libraries - serialize-javascript-4.0.0.tgz, serialize-javascript-6.0.1.tgz
serialize-javascript-4.0.0.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: /react-workspace/test-react-v18/package.json
Path to vulnerable library: /react-workspace/test-react-v18/package.json,/react-workspace/test-web-components/package.json
Dependency Hierarchy:
serialize-javascript-6.0.1.tgz
Library home page: https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.1.tgz
Path to dependency file: /react-workspace/test-web-components/package.json
Path to vulnerable library: /react-workspace/test-web-components/package.json
Dependency Hierarchy:
Found in HEAD commit: c67ed1db1039304e347beccda3cc57739b39aba8
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:
Suggested Fix
Type: Upgrade version
Origin: GHSA-76p7-773f-r4q5
Release Date: 2025-02-10
Fix Resolution: serialize-javascript - 6.0.2
Vulnerable Library - postcss-7.0.39.tgz
Tool for transforming styles with JS plugins
Library home page: https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz
Path to dependency file: /react-workspace/test-react-v18/package.json
Path to vulnerable library: /react-workspace/test-react-v18/package.json,/react-workspace/test-web-components/package.json
Dependency Hierarchy:
Found in HEAD commit: c67ed1db1039304e347beccda3cc57739b39aba8
Found in base branch: main
Vulnerability Details
An issue was discovered in PostCSS before 8.4.31. The vulnerability affects linters using PostCSS to parse external untrusted CSS. An attacker can prepare CSS in such a way that it will contains parts parsed by PostCSS as a CSS comment. After processing by PostCSS, it will be included in the PostCSS output in CSS nodes (rules, properties) despite being included in a comment.
Publish Date: 2023-09-29
URL: CVE-2023-44270
CVSS 3 Score Details (5.3)
Base Score Metrics:
Suggested Fix
Type: Upgrade version
Origin: GHSA-7fh5-64p2-3v2j
Release Date: 2023-09-29
Fix Resolution: postcss - 8.4.31
The text was updated successfully, but these errors were encountered: