{"id":"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.","aliases":["BIT-magento-2022-34254","GHSA-fx9g-g9q6-x3jx"],"modified":"2026-08-12T03:51:22.954949670Z","published":"2022-08-16T19:44:17.754Z","database_specific":{"cna_assigner":"adobe","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34254.json","unresolved_ranges":[{"extracted_events":[{"last_affected":"2.4.4"},{"last_affected":"2.3.7-p3"},{"last_affected":"2.4.3-p2"},{"last_affected":"None"}],"source":"AFFECTED_FIELD"}]},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/magento/devdocs","events":[{"introduced":"81e9594ffa9c24a761ebd3a3c7c076078443f1e5"},{"last_affected":"81e9594ffa9c24a761ebd3a3c7c076078443f1e5"}],"database_specific":{"source":"CPE_STRING","cpe":["cpe:2.3:a:magento:magento:2.3.7:p2:*:*:commerce:*:*:*","cpe:2.3:a:magento:magento:2.4.3:p1:*:*:commerce:*:*:*","cpe:2.3:a:magento:magento:2.4.4:-:*:*:commerce:*:*:*"],"extracted_events":[{"introduced":"2.3.7-p2"},{"last_affected":"2.3.7-p2"},{"introduced":"2.4.3-p1"},{"last_affected":"2.4.3-p1"},{"introduced":"2.4.4-NA"},{"last_affected":"2.4.4-NA"}]}}],"versions":["2.3.7-p2","2.4.4","2.4.3-p1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34254.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/magento/magento2","events":[{"introduced":"f4c1d7526f05bdfb1327b0701cc345f94aadcaed"},{"fixed":"44a7b6079bcac5ba92040b16f4f74024b4f34d09"},{"introduced":"6729b6e01368248abc33300208eb292c95050203"},{"fixed":"4c36116dcf878e127059d9be9566a119783583f2"},{"introduced":"44a7b6079bcac5ba92040b16f4f74024b4f34d09"},{"last_affected":"0f9a056c8d83c4f319626b3e56ec52a533999f25"}],"database_specific":{"extracted_events":[{"introduced":"2.3.0"},{"fixed":"2.3.7"},{"introduced":"2.4.0"},{"fixed":"2.4.3"},{"introduced":"2.3.7-NA"},{"last_affected":"2.3.7-NA"},{"introduced":"2.3.7-p1"},{"last_affected":"2.3.7-p1"},{"introduced":"2.3.7-p2"},{"last_affected":"2.3.7-p2"},{"introduced":"2.3.7-p3"},{"last_affected":"2.3.7-p3"},{"introduced":"2.4.3-NA"},{"last_affected":"2.4.3-NA"},{"introduced":"2.4.3-p1"},{"last_affected":"2.4.3-p1"},{"introduced":"2.4.3-p2"},{"last_affected":"2.4.3-p2"},{"introduced":"2.4.4-NA"},{"last_affected":"2.4.4-NA"}],"source":["CPE_RANGE","CPE_STRING"],"cpe":["cpe:2.3:a:adobe:commerce:*:*:*:*:*:*:*:*","cpe:2.3:a:magento:magento:*:*:*:*:commerce:*:*:*","cpe:2.3:a:adobe:commerce:2.3.7:-:*:*:*:*:*:*","cpe:2.3:a:magento:magento:2.3.7:-:*:*:commerce:*:*:*","cpe:2.3:a:adobe:commerce:2.3.7:p1:*:*:*:*:*:*","cpe:2.3:a:magento:magento:2.3.7:p1:*:*:commerce:*:*:*","cpe:2.3:a:adobe:commerce:2.3.7:p2:*:*:*:*:*:*","cpe:2.3:a:magento:magento:2.3.7:p2:*:*:commerce:*:*:*","cpe:2.3:a:adobe:commerce:2.3.7:p3:*:*:*:*:*:*","cpe:2.3:a:magento:magento:2.3.7:p3:*:*:commerce:*:*:*","cpe:2.3:a:adobe:commerce:2.4.3:-:*:*:*:*:*:*","cpe:2.3:a:magento:magento:2.4.3:-:*:*:commerce:*:*:*","cpe:2.3:a:adobe:commerce:2.4.3:p1:*:*:*:*:*:*","cpe:2.3:a:magento:magento:2.4.3:p1:*:*:commerce:*:*:*","cpe:2.3:a:adobe:commerce:2.4.3:p2:*:*:*:*:*:*","cpe:2.3:a:magento:magento:2.4.3:p2:*:*:commerce:*:*:*","cpe:2.3:a:adobe:commerce:2.4.4:-:*:*:*:*:*:*","cpe:2.3:a:magento:magento:2.4.4:-:*:*:commerce:*:*:*"]}}],"versions":["2.3.7-NA","2.3.7-p1","2.3.7-p2","2.3.7-p3","2.4.3-NA","2.4.3-p1","2.4.3-p2","2.4.4-NA"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-34254.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N"}]}