# CVE-2025-32792: ses's global contour bindings leak into Compartment lexical scope

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2025-04-18T15:10:05.000Z
- Modified: 2026-06-17T09:12:34.870Z
- Also known as: GHSA-h9w6-f932-gq62
- Weaknesses: CWE-497
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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`.

(As written by CVE List.)

## Affected

- endojs endo: < 1.12.0
- ses (npm): before 1.12.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/endojs/endo/security/advisories/GHSA-h9w6-f932-gq62> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-32792> (advisory)
- <https://github.com/endojs/endo> (package)

## Sources

- CVE List: [CVE-2025-32792](https://www.cve.org/CVERecord?id=CVE-2025-32792), CVE Terms of Use, modified 2025-04-21
- GitHub Advisory Database: [GHSA-h9w6-f932-gq62](https://github.com/advisories/GHSA-h9w6-f932-gq62), CC-BY-4.0, modified 2025-04-18
- NVD: [CVE-2025-32792](https://nvd.nist.gov/vuln/detail/CVE-2025-32792), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-32792 · Whole record: https://cve.day/CVE-2025-32792.json · Rebuilt by cve.day 2026-11-25T22:58:56.776Z
