{"url":"http://public2.vulnerablecode.io/api/packages/979169?format=json","purl":"pkg:npm/happy-dom@20.8.5","type":"npm","namespace":"","name":"happy-dom","version":"20.8.5","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"20.8.9","latest_non_vulnerable_version":"20.8.9","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/74643?format=json","vulnerability_id":"VCID-vu96-bjvq-4bex","summary":"Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. Versions prior to 20.8.9 may attach cookies from the current page origin (`window.location`) instead of the request target URL when `fetch(..., { credentials: \"include\" })` is used. This can leak cookies from origin A to destination B. Version 20.8.9 fixes the issue.","references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-34226.json","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-34226.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-34226","reference_id":"","reference_type":"","scores":[{"value":"0.00054","scoring_system":"epss","scoring_elements":"0.17277","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-34226"},{"reference_url":"https://github.com/capricorn86/happy-dom","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/capricorn86/happy-dom"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34226","reference_id":"","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34226"},{"reference_url":"https://github.com/capricorn86/happy-dom/pull/2117","reference_id":"2117","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-31T14:25:16Z/"}],"url":"https://github.com/capricorn86/happy-dom/pull/2117"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452519","reference_id":"2452519","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452519"},{"reference_url":"https://github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751","reference_id":"68324c21d7b98f53f7bb5a7b3e185bda7106e751","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-31T14:25:16Z/"}],"url":"https://github.com/capricorn86/happy-dom/commit/68324c21d7b98f53f7bb5a7b3e185bda7106e751"},{"reference_url":"https://github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts","reference_id":"FetchRequestHeaderUtility.ts","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-31T14:25:16Z/"}],"url":"https://github.com/capricorn86/happy-dom/blob/f8d8cad41e9722fab9eefb9dfb3cca696462e908/packages/happy-dom/src/fetch/utilities/FetchRequestHeaderUtility.ts"},{"reference_url":"https://github.com/advisories/GHSA-w4gp-fjgq-3q4g","reference_id":"GHSA-w4gp-fjgq-3q4g","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-w4gp-fjgq-3q4g"},{"reference_url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g","reference_id":"GHSA-w4gp-fjgq-3q4g","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-31T14:25:16Z/"}],"url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-w4gp-fjgq-3q4g"},{"reference_url":"https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9","reference_id":"v20.8.9","reference_type":"","scores":[{"value":"7.5","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:P/P:M/B:A/M:M/D:T/2026-03-31T14:25:16Z/"}],"url":"https://github.com/capricorn86/happy-dom/releases/tag/v20.8.9"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/374729?format=json","purl":"pkg:npm/happy-dom@20.8.9","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/happy-dom@20.8.9"}],"aliases":["CVE-2026-34226","GHSA-w4gp-fjgq-3q4g"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-vu96-bjvq-4bex"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/77704?format=json","vulnerability_id":"VCID-vw96-jr5m-8uc2","summary":"Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. In versions 15.10.0 through 20.8.7, a code injection vulnerability in `ECMAScriptModuleCompiler` allows an attacker to achieve Remote Code Execution (RCE) by injecting arbitrary JavaScript expressions inside `export { }` declarations in ES module scripts processed by happy-dom. The compiler directly interpolates unsanitized content into generated code as an executable expression, and the quote filter does not strip backticks, allowing template literal-based payloads to bypass sanitization. Version 20.8.8 fixes the issue.","references":[{"reference_url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-33943.json","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}],"url":"https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-33943.json"},{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-33943","reference_id":"","reference_type":"","scores":[{"value":"0.00085","scoring_system":"epss","scoring_elements":"0.24586","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-33943"},{"reference_url":"https://github.com/capricorn86/happy-dom","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/capricorn86/happy-dom"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33943","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33943"},{"reference_url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452522","reference_id":"2452522","reference_type":"","scores":[],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452522"},{"reference_url":"https://github.com/capricorn86/happy-dom/commit/5437fdf8f13adb9590f9f52616d9f69c3ee8db3c","reference_id":"5437fdf8f13adb9590f9f52616d9f69c3ee8db3c","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-03-27T21:58:00Z/"}],"url":"https://github.com/capricorn86/happy-dom/commit/5437fdf8f13adb9590f9f52616d9f69c3ee8db3c"},{"reference_url":"https://github.com/advisories/GHSA-6q6h-j7hj-3r64","reference_id":"GHSA-6q6h-j7hj-3r64","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-6q6h-j7hj-3r64"},{"reference_url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-6q6h-j7hj-3r64","reference_id":"GHSA-6q6h-j7hj-3r64","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-03-27T21:58:00Z/"}],"url":"https://github.com/capricorn86/happy-dom/security/advisories/GHSA-6q6h-j7hj-3r64"},{"reference_url":"https://github.com/capricorn86/happy-dom/releases/tag/v20.8.8","reference_id":"v20.8.8","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-03-27T21:58:00Z/"}],"url":"https://github.com/capricorn86/happy-dom/releases/tag/v20.8.8"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/375189?format=json","purl":"pkg:npm/happy-dom@20.8.8","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-vu96-bjvq-4bex"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/happy-dom@20.8.8"}],"aliases":["CVE-2026-33943","GHSA-6q6h-j7hj-3r64"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-vw96-jr5m-8uc2"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/happy-dom@20.8.5"}