CVE-2025-32792 Details
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`.
A vulnerability in the SES package prior to version 1.12.0 allows top-level 'let', 'const', and 'class' bindings in a '<script>' tag to leak into the lexical scope of third-party code evaluated with the Compartment API. This issue arises because the global bindings are inadvertently exposed, creating a potential security risk. The vulnerability affects web pages and extensions that use SES to run third-party JavaScript in isolated environments.
Users can upgrade SES to version 1.12.0 or later to address this vulnerability. Alternatively, top-level 'let', 'const', or 'class' bindings can be avoided in '<script>' tags, or these bindings can be changed to 'var' to ensure they are reflected on 'globalThis'.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 18, 2025CISA-ADP
Assessed Apr 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/endojs/endo/security/advisories/GHSA-h9w6-f932-gq62 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-497 | Exposure of Sensitive System Information to an Unauthorized Control Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| endojs ses | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 18, 2025 | New CVE Received | [email protected] |
Volerion