{"id":"CVE-2022-34254","aliases":["BIT-magento-2022-34254","GHSA-fx9g-g9q6-x3jx"],"url":"https://o3.security/vulnerability/CVE-2022-34254","summary":"Adobe Commerce Improper Limitation of a Pathname to a Restricted Directory Arbitrary code execution","details":"Adobe Commerce versions 2.4.3-p2 (and earlier), 2.3.7-p3 (and earlier) and 2.4.4 (and earlier) are affected by an Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability that could be abused by an attacker to inject malicious scripts into the vulnerable endpoint. A low privileged attacker could leverage this vulnerability to read local files and to perform Stored XSS. Exploitation of this issue does not require user interaction.","published":"2022-08-16T19:44:17.754Z","modified":"2026-08-12T03:51:22.954949670Z","cvss":{"score":8.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N"},"epss":{"score":0.02199,"percentile":0.80961,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.3.7-p4"},{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.4.3-p3"},{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.4.5"}],"fix":{"url":"https://github.com/magento/magento2/commit/246d524b7586af2245092008e0d92b8d6fdd8523","label":"magento/magento2@246d524"},"references":[{"type":"WEB","url":"https://helpx.adobe.com/security/products/magento/apsb22-38.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34254.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34254"},{"type":"WEB","url":"https://github.com/magento/magento2/commit/246d524b7586af2245092008e0d92b8d6fdd8523"},{"type":"WEB","url":"https://github.com/magento/magento2/commit/5548bc64b5bc904346c0af9193a7fbb5274b4efa"},{"type":"WEB","url":"https://github.com/magento/magento2/commit/5f07eba878296a37bd5c3a2baecad48948547594"},{"type":"PACKAGE","url":"https://github.com/magento/magento2"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:22.954949670Z"}}