CVE-2023-35931
Shescape Project Shescape ≤ 1.7.1
Raw vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:NSummary
CVE-2023-35931 is a low-severity Cleartext Storage of Sensitive Information in an Environment Variable (CWE-526) vulnerability in Shescape Project Shescape. Its CVSS base score is 3.1 (Low).
Operationally, exploitation aligns with the MITRE ATT&CK technique Unsecured Credentials (T1552); ranked in the top 46% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-1669
Vulnerability Data
Shescape is a simple shell escape library for JavaScript. An attacker may be able to get read-only access to environment variables. This bug has been patched in version 1.7.1.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Cryptography control directly addresses the lack of encryption for sensitive data stored in environment variables.
Classification drives decisions on what must be protected, indirectly discouraging cleartext storage of sensitive data.
Authentication secrets are a common type of sensitive information; the control requires protecting them, which this weakness violates.
Requires secure deletion of sensitive information, which would prevent leaving it in environment variables.
Data masking techniques can be applied to avoid storing sensitive values in cleartext environment variables.
DLP policies can detect and block the placement of sensitive data into environment variables.