Vulnerabilities |
2 via 4 paths |
|---|---|
Dependencies |
120 |
Source |
GitHub |
Find, fix and prevent vulnerabilities in your code.
high severity
- Vulnerable module: cssom
- Introduced through: jest-environment-jsdom@29.7.0
Detailed paths
-
Introduced through: cloudbees-openfeature-provider-browser@rollout/cloudbees-openfeature-provider-browser › jest-environment-jsdom@29.7.0 › jsdom@20.0.3 › cssom@0.5.0
-
Introduced through: cloudbees-openfeature-provider-browser@rollout/cloudbees-openfeature-provider-browser › jest-environment-jsdom@29.7.0 › jsdom@20.0.3 › cssstyle@2.3.0 › cssom@0.3.8
Overview
Affected versions of this package are vulnerable to Improper Validation of Specified Quantity in Input via CSSStyleDeclaration.setProperty(), which fails to validate reserved property names. An attacker can supply a stylesheet containing a declaration named length, replacing the internal counter and triggering excessive memory allocation during cssText serialization, causing process termination.
Remediation
There is no fixed version for cssom.
References
high severity
new
- Vulnerable module: parse5
- Introduced through: jest-environment-jsdom@29.7.0
Detailed paths
-
Introduced through: cloudbees-openfeature-provider-browser@rollout/cloudbees-openfeature-provider-browser › jest-environment-jsdom@29.7.0 › @types/jsdom@20.0.1 › parse5@7.3.0Remediation: Upgrade to jest-environment-jsdom@30.3.0.
-
Introduced through: cloudbees-openfeature-provider-browser@rollout/cloudbees-openfeature-provider-browser › jest-environment-jsdom@29.7.0 › jsdom@20.0.3 › parse5@7.3.0
Overview
Affected versions of this package are vulnerable to Uncaught Exception in the Preprocessor class, whose _processSurrogate method pairs a code unit with a following low surrogate without confirming the first unit is a high surrogate. Two consecutive low surrogates such as U+DC00 U+DC00 decode to the out-of-range code point 0x110000, and String.fromCodePoint throws a RangeError that propagates out of parse, parseFragment, and the SAX and streaming parsers. An attacker who can supply HTML to an application that parses it, directly or through a dependent such as cheerio or jsdom, can crash the Node.js process with a few bytes of input. This affects parse5 built on the TypeScript tokenizer, where characters are emitted with String.fromCodePoint.
Remediation
Upgrade parse5 to version 8.1.1 or higher.