{"id":"GHSA-5v7r-jg9r-vq44","aliases":["GHSA-5v7r-jg9r-vq44"],"related":[],"kind":"vulnerability","state":"published","title":"Insecure Cryptography Algorithm in simple-crypto-js","summary":"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.\n\n\n## Recommendation\n\nUpgrade to version 2.3.0 or later.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.\n\n\n## Recommendation\n\nUpgrade to version 2.3.0 or later.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T21:19:46.000Z","modified":"2021-09-29T20:08:01.000Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","score":5.9,"rating":"MEDIUM"}],"cwes":["CWE-327"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.3.0"}],"ecosystem":"npm","package":"simple-crypto-js","purl":"pkg:npm/simple-crypto-js","source":"ghsa"}],"references":[{"url":"https://github.com/danang-id/simple-crypto-js/issues/12","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/danang-id/simple-crypto-js/pull/17","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/danang-id/simple-crypto-js/commit/416584369de1dad9b21ac3fe85df0b71cf5718b2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/danang-id/simple-crypto-js","tags":["package"],"sources":["ghsa"]},{"url":"https://robertheaton.com/2013/07/29/padding-oracle-attack","tags":["web"],"sources":["ghsa"]},{"url":"https://snyk.io/vuln/SNYK-JS-SIMPLECRYPTOJS-544027","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5v7r-jg9r-vq44","url":"https://github.com/advisories/GHSA-5v7r-jg9r-vq44","licence":"CC-BY-4.0","modified":"2021-09-29T20:08:01.000Z"}],"updatedAt":"2026-11-25T22:56:44.241Z"}