{"id":"CVE-2025-32792","published":"2025-04-18T16:04:16Z","modified":"2025-04-21T13:28:59Z","title":"ses's global contour bindings leak into Compartment lexical scope","vendor":"endojs","product":"endo","tier":"tail","description":{"text":"SES safely executes third-party JavaScript 'strict' mode programs in compartments that have no excess authority in their global scope. Prior to version 1.12.0, web pages and web extensions using `ses` and the Compartment API to evaluate third-party code in an isolated execution environment that have also elsewhere used `const`, `let`, and `class` bindings in the top-level scope of a `<script>` tag will have inadvertently revealed these bindings in the lexical scope of third-party code. This issue has been patched in version 1.12.0. Workarounds for this issue involve either avoiding top-level `let`, `const`, or `class` bindings in `<script>` tags, or change these to `var` bindings to be reflected on `globalThis`.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00587,"percentile":0.48964,"provenance":"source"},"cwes":[{"id":"CWE-497","name":"Exposure of Sensitive System Information to an Unauthorized Control Sphere"}],"references":[{"url":"https://github.com/endojs/endo/security/advisories/GHSA-h9w6-f932-gq62","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":9.79},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"endojs","affectedVersions":[{"vendor":"endojs","product":"endo","versions":["< 1.12.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-21T13:27:03.438251Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"ses","vulnerableRanges":["<1.12.0"],"patched":["1.12.0"],"from":["GHSA-h9w6-f932-gq62"],"provenance":"source"}],"summary":{"text":"The flaw is in the ses package from endojs's Endo product, where the Compartment API's isolation fails because top-level let, const, and class bindings from a page's <script> tags leak into the lexical scope of third-party code evaluated in a compartment, affecting versions before 1.12.0. An attacker who can supply code to run inside such a compartment can reach these bindings over the network without authentication or user interaction, as long as the hosting page also declares top-level lexical bindings in its script tags.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:51Z"},"euvd":{"id":"EUVD-2025-11857","exploited":false,"provenance":"source"}}