PT-2025-17316
CVE-2025-32792
·
Published
2025-04-18
·
Updated
2025-04-22
Description by
CVSS 4.0
8.7
HighMetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions
SES versions prior to 1.12.0
Description
The issue arises when using the SES and Compartment API to evaluate third-party code in an isolated environment. In versions prior to 1.12.0, top-level
let, const, and class bindings in <script> tags are inadvertently revealed in the lexical scope of third-party code. This is due to the way these bindings are handled in the global scope.Recommendations
For versions prior to 1.12.0, consider updating to version 1.12.0 to resolve the issue.
As a temporary workaround, avoid using top-level
let, const, or class bindings in <script> tags.
Alternatively, change top-level let, const, or class bindings to var bindings to prevent them from being reflected on globalThis. Found an issue in the description? Have something to add? Feel free to write us 👾