GHSA-5v7r-jg9r-vq44
Insecure Cryptography Algorithm in simple-crypto-js
GHSA-5v7r-jg9r-vq44 is a medium vulnerability (CVSS 5.9) in simple-crypto-js, published September 3, 2020. No source lists public exploit code. Fixed in simple-crypto-js 2.3.0.
- Severity
- 5.9 MediumCVSS 3.1, GitHub Advisories
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
2.3.0simple-crypto-js
Description
Versions of simple-crypto-js prior to 2.3.0 use AES-CBC with PKCS#7 padding, which is vulnerable to padding oracle attacks. This may allow attackers to break the encryption and access sensitive data.
Recommendation
Upgrade to version 2.3.0 or later.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Affected packages
| Package | Affected | Fixed |
|---|---|---|
simple-crypto-jsnpm | before 2.3.0 | 2.3.0 |
What each source reports
GitHub Advisories Score used 5.9
Insecure Cryptography Algorithm in simple-crypto-js
Versions of simple-crypto-js prior to 2.3.0 use AES-CBC with PKCS#7 padding, which is vulnerable to padding oracle attacks. This may allow attackers to break the encryption and access sensitive data.
Recommendation
Upgrade to version 2.3.0 or later.
- Record
GHSA-5v7r-jg9r-vq44- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-327
- Updated
- 2026-11-02
OSV 5.9
Insecure Cryptography Algorithm in simple-crypto-js
Versions of simple-crypto-js prior to 2.3.0 use AES-CBC with PKCS#7 padding, which is vulnerable to padding oracle attacks. This may allow attackers to break the encryption and access sensitive data.
Recommendation
Upgrade to version 2.3.0 or later.
- Record
GHSA-5v7r-jg9r-vq44- CVSS 3.1
- 5.9 Medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-327
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
References
github.com/danang-id/simple-crypto-js/issues/12
robertheaton.com/2013/07/29/padding-oracle-attack
snyk.io/vuln/SNYK-JS-SIMPLECRYPTOJS-544027
github.com/danang-id/simple-crypto-js/pull/17
github.com/danang-id/simple-crypto-js/commit/416584369de1dad9b21ac3fe85df0b71cf5718b2
github.com/advisories/GHSA-5v7r-jg9r-vq44
github.com/danang-id/simple-crypto-js