{"id":"CVE-2022-34254","aliases":["BIT-magento-2022-34254","EUVD-2022-6554","GHSA-fx9g-g9q6-x3jx"],"status":"published","title":"Adobe Commerce Improper Limitation of a Pathname to a Restricted Directory Arbitrary code execution","description":"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.","severity":{"version":"3.0","score":8.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.02329,"percentile":0.83664,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2022-08-16T19:44:17Z","modified":"2026-10-28T02:30:35Z","fixes":[{"ecosystem":"Packagist","package":"magento/community-edition","fixed_in":["2.3.7-p4","2.4.3-p3","2.4.5"],"sources":["ghsa","osv"]},{"ecosystem":"Bitnami","package":"magento","fixed_in":["2.3.7","2.4.3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"magento/community-edition","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.7-p4"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"magento/community-edition","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-p3"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"magento/community-edition","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.4"},{"last_affected":"2.4.4"},{"fixed":"2.4.5"}]}],"versions":["2.4.4"]},{"source":"osv","ecosystem":"Bitnami","package":"magento","ranges":[{"type":"SEMVER","events":[{"introduced":"2.3.0"},{"fixed":"2.3.7"},{"introduced":"2.4.0"},{"fixed":"2.4.3"}]},{"type":"SEMVER","events":[{"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.3.7"},{"last_affected":"2.3.7"},{"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.3"},{"last_affected":"2.4.3"},{"introduced":"2.4.4"},{"last_affected":"2.4.4"}]}]},{"source":"osv","ecosystem":"Packagist","package":"magento/community-edition","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.7-p4"}]}],"versions":["2.3.0","2.3.1","2.3.2","2.3.2-p2","2.3.3","2.3.3-p1","2.3.4","2.3.4-p2","2.3.5","2.3.5-p1","2.3.5-p2","2.3.6","2.3.6-p1","2.3.7","2.3.7-p1","2.3.7-p2","2.3.7-p3"]},{"source":"osv","ecosystem":"Packagist","package":"magento/community-edition","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.3-p3"}]}],"versions":["2.4.0","2.4.0-p1","2.4.1","2.4.1-p1","2.4.2","2.4.2-p1","2.4.2-p2","2.4.3","2.4.3-p1","2.4.3-p2"]},{"source":"osv","ecosystem":"Packagist","package":"magento/community-edition","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.4"},{"fixed":"2.4.5"}]}],"versions":["2.4.4","2.4.4-p1","2.4.4-p10","2.4.4-p11","2.4.4-p12","2.4.4-p13","2.4.4-p2","2.4.4-p3","2.4.4-p4","2.4.4-p5","2.4.4-p6","2.4.4-p7","2.4.4-p8","2.4.4-p9"]}],"products":[{"vendor":"adobe","product":"commerce"},{"vendor":"adobe","product":"magento commerce"},{"vendor":"magento","product":"magento"}],"references":[{"url":"https://helpx.adobe.com/security/products/magento/apsb22-38.html","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34254","tags":["advisory"]},{"url":"https://github.com/magento/magento2/commit/246d524b7586af2245092008e0d92b8d6fdd8523","tags":["web"]},{"url":"https://github.com/magento/magento2/commit/5548bc64b5bc904346c0af9193a7fbb5274b4efa","tags":["web"]},{"url":"https://github.com/magento/magento2/commit/5f07eba878296a37bd5c3a2baecad48948547594","tags":["web"]},{"url":"https://github.com/advisories/GHSA-fx9g-g9q6-x3jx"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/34xxx/CVE-2022-34254.json","tags":["advisory"]},{"url":"https://github.com/magento/magento2","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-34254","title":"Adobe Commerce Improper Limitation of a Pathname to a Restricted Directory Arbitrary code execution","description":"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.","status":"published","published":"2022-08-16T19:44:17.754Z","modified":"2025-04-23T17:49:54.693Z","cvss":[{"version":"3.0","score":8.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:42.354707Z"}],"euvd":[{"id":"EUVD-2022-6554","description":"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.","status":"published","published":"2022-08-16T19:44:17Z","modified":"2025-04-23T17:49:54Z","cvss":[{"version":"3.0","score":8.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T20:52:10.363195Z"}],"ghsa":[{"id":"GHSA-fx9g-g9q6-x3jx","title":"Magento Path Traversal vulnerability","description":"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.","status":"published","published":"2022-08-17T00:00:19Z","modified":"2024-01-11T18:16:50Z","cvss":[{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:30.812736Z"}],"nvd":[{"id":"CVE-2022-34254","description":"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.","status":"published","published":"2022-08-16T21:15:10.04Z","modified":"2026-06-17T04:49:59.22Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"3.0","score":8.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:07:25.242752Z"}],"osv":[{"id":"CVE-2022-34254","title":"Adobe Commerce Improper Limitation of a Pathname to a Restricted Directory Arbitrary code execution","description":"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.","status":"published","published":"2022-08-16T19:44:17.754Z","modified":"2026-10-28T02:30:35.358223342Z","cvss":[{"version":"3.0","score":8.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:44:25.860945Z"},{"id":"GHSA-fx9g-g9q6-x3jx","title":"Magento Path Traversal vulnerability","description":"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.","status":"published","published":"2022-08-17T00:00:19Z","modified":"2026-09-10T03:50:07.109348493Z","cvss":[{"version":"3.1","score":8.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:47.119724Z"},{"id":"BIT-magento-2022-34254","description":"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.","status":"published","published":"2024-03-06T10:56:47.094Z","modified":"2025-02-26T16:37:33.026Z","updated_at":"2026-11-02T15:28:32.645004Z"}]}}
