{"cve":"CVE-2026-41886","nvd":{"published":"2026-05-08T16:16:12.060","modified":"2026-06-17T10:47:08.593","status":"Deferred","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.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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L","score":7.5},"cwes":["CWE-79","CWE-346"],"references":["https://github.com/locize/locize/releases/tag/v4.0.21","https://github.com/locize/locize/security/advisories/GHSA-w937-fg2h-xhq2"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:33:55.586217763+00:00"},"epss":{"cve":"CVE-2026-41886","score":0.00101,"percentile":0.00893,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-w937-fg2h-xhq2","url":"https://osv.dev/vulnerability/GHSA-w937-fg2h-xhq2","summary":"locize Client SDK: Cross-origin DOM XSS & Handler Hijack Through Missing e.origin Validation in InContext Editor ","modified":"2026-05-13T13:54:34.252474Z","packages":[{"ecosystem":"npm","name":"locize","purl":"pkg:npm/locize","ranges":["<4.0.21"],"fixed":["4.0.21"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}