CVE-2022-0437
Published: 05 February 2022
Summary
CVE-2022-0437 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Karma Project Karma. Its CVSS base score is 6.1 (Medium).
Operationally, ranked in the top 3.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2022-0437 is a DOM-based cross-site scripting vulnerability (CWE-79) affecting the NPM karma test runner package in versions prior to 6.3.14. The flaw received a CVSS 3.1 score of 6.1 with a vector of AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, indicating network-reachable input that can alter the DOM in the victim's browser context.
An unauthenticated remote attacker can trigger the issue by supplying a malicious payload that executes when a user interacts with a karma-hosted page, allowing limited theft or manipulation of data within the affected origin due to the changed scope.
The referenced GitHub commit 839578c45a8ac42fbc1d72105f97eab77dd3eb8a and the associated huntr.dev report document the fix that was merged to address the DOM XSS; practitioners should upgrade karma to 6.3.14 or later to eliminate the vulnerable code paths.
EPSS for the CVE remains flat at a peak and current value of 0.2465 with no material upward trajectory after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-0897
Vulnerability details
Cross-site Scripting (XSS) - DOM in NPM karma prior to 6.3.14.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.