{"id":"CVE-2022-0437","published":"2022-02-05T01:50:10Z","modified":"2024-08-02T23:25:40Z","title":"Cross-site Scripting (XSS) - DOM in karma-runner/karma","vendor":"karma-runner","product":"karma-runner/karma","tier":"tail","description":{"text":"Cross-site Scripting (XSS) - DOM in NPM karma prior to 6.3.14.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.15054,"percentile":0.96807,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.dev/bounties/64b67ea1-5487-4382-a5f6-e8a95f798885","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/karma-runner/karma/commit/839578c45a8ac42fbc1d72105f97eab77dd3eb8a","tags":["x_refsource_MISC"]}],"priority":{"score":28.1,"factors":[{"name":"EPSS percentile","points":19.36},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.78}]},"exploitSources":{"nuclei":[{"id":"CVE-2022-0437","name":"karma-runner DOM-based Cross-Site Scripting","severity":"medium","path":"http/cves/2022/CVE-2022-0437.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0437.yaml"}],"provenance":"source"},"vendorSlug":"karma-runner","affectedVersions":[{"vendor":"karma-runner","product":"karma-runner/karma","versions":[">= unspecified, < 6.3.14"]}],"affected":[{"ecosystem":"npm","package":"karma","vulnerableRanges":["<6.3.14"],"patched":["6.3.14"],"from":["GHSA-7x7c-qm48-pq9c"],"provenance":"source"}],"summary":{"text":"The DOM-based cross-site scripting flaw lives in the karma package for NPM, the test runner maintained by karma-runner, in versions prior to 6.3.14. An attacker who can get a user to interact with a crafted page, without needing authentication or network access beyond reaching the affected component, can inject script that runs in the victim's browser context and affects the confidentiality and integrity of that session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:19:02Z"},"euvd":{"id":"EUVD-2022-0897","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-karma-runner-karma-cve-2022-0437","children":[{"from":"CVE-2022-0437","to":"CVE-2021-23495","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:karma","fromFixed":"6.3.14","toFixed":"6.3.16","daysApart":20},{"kind":"same-code","provenance":"machine","files":["client/karma.js","static/karma.js"],"commits":["https://github.com/karma-runner/karma/commit/ff7edbb2ffbcdd69761bece86b7dc1ef0740508d","https://github.com/karma-runner/karma/commit/839578c45a8ac42fbc1d72105f97eab77dd3eb8a"],"basis":"shared function","functions":["Karma"]},{"kind":"similar","provenance":"machine","score":0.42,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2022-0437","published":"2022-02-05","fixed":"6.3.14","kev":false},{"cve":"CVE-2021-23495","published":"2022-02-25","fixed":"6.3.16","kev":false}],"package":"npm:karma"}}