{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-41886","id":"CVE-2026-41886","title":"locize Client SDK: Cross-origin DOM XSS & Handler Hijack Through Missing e.origin Validation in InContext Editor","description":"locize is a localization platform that connects code and i18n setup. Prior to version 4.0.21, the locize client SDK registers a window.addEventListener(\"message\", …) handler that dispatches to registered internal handlers (editKey, commitKey, commitKeys, isLocizeEnabled, requestInitialize, …) without validating event.origin. The pre-patch listener in src/api/postMessage.js gates dispatch on event.","descriptionLong":"locize is a localization platform that connects code and i18n setup. Prior to version 4.0.21, the locize client SDK registers a window.addEventListener(\"message\", …) handler that dispatches to registered internal handlers (editKey, commitKey, commitKeys, isLocizeEnabled, requestInitialize, …) without validating event.origin. The pre-patch listener in src/api/postMessage.js gates dispatch on event.data.sender === \"i18next-editor-frame\" — that value sits inside the attacker-controlled message payload, not the browser-enforced origin. Any web page that could embed or be embedded by a locize-enabled host — an iframe on a third-party page, a window.open-ed victim, a parent frame reaching down — could send a crafted postMessage and trigger the internal handlers. This issue has been patched in version 4.0.21.","published":"2026-05-08T15:45:23.262Z","updated":"2026-10-28T02:31:00.935525462Z","reserved":"2026-04-22T15:11:54.671Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L","rating":"high","source":"GitHub"}],"rating":"high","products":["locize"],"affectedProducts":[{"vendor":"locize","product":"locize","defaultStatus":null,"versions":[{"version":"< 4.0.21","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"locize","purl":"pkg:npm/locize","ranges":["<4.0.21"],"fixed":["4.0.21"],"advisory":"GHSA-w937-fg2h-xhq2"}],"cwes":["CWE-79","CWE-346"],"aliases":["GHSA-w937-fg2h-xhq2"],"references":[{"url":"https://github.com/locize/locize/security/advisories/GHSA-w937-fg2h-xhq2","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/locize/locize/releases/tag/v4.0.21","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41886.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41886","tags":["advisory"]},{"url":"https://github.com/locize/locize/commit/d006b75fadb8e8ab77b023e462850fc6e9170735","tags":["web"]},{"url":"https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage#security_concerns","tags":["web"]},{"url":"https://github.com/locize/locize","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00101,"epssPercentile":0.00925,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-41886","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-41886","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-41886","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w937-fg2h-xhq2","ok":true,"note":"GHSA-w937-fg2h-xhq2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-41886","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}