{"id":"CVE-2019-8152","aliases":["GHSA-jjmg-xmq2-g6ff"],"url":"https://o3.security/vulnerability/CVE-2019-8152","summary":"Magento 2 Community Edition XSS Vulnerability","details":"A stored cross-site scripting (XSS) vulnerability exists in in Magento 1 prior to 1.9.4.3 and 1.14.4.3, Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1. An authenticated user with access to the wysiwyg editor can abuse the `blockDirective()` function and inject malicious javascript in the cache of the admin dashboard.\n\nAs per [the Magento Release 2.3.3](https://web.archive.org/web/20201126132230/https://devdocs.magento.com/guides/v2.3/release-notes/release-notes-2-3-3-commerce.html#new-security-only-patch-available), if you have already implemented the pre-release version of this patch (2.3.2-p1), it is highly recommended to promptly upgrade to 2.3.2-p2.","published":"2019-11-06T00:15:12.577Z","modified":"2026-09-21T03:45:30.520630026Z","cvss":{"score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"},"epss":{"score":0.00591,"percentile":0.45576,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.2.10"},{"ecosystem":"Packagist","name":"magento/community-edition","fixedVersion":"2.3.2-p2"}],"fix":null,"references":[{"type":"FIX","url":"https://magento.com/security/patches/supee-11219"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-8152"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/magento1ce/CVE-2019-8152.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/magento1ee/CVE-2019-8152.yaml"},{"type":"WEB","url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-8152.yaml"},{"type":"PACKAGE","url":"https://github.com/magento/magento2"},{"type":"WEB","url":"https://magento.com/security/patches/magento-2.3.3-and-2.2.10-security-update"},{"type":"WEB","url":"https://web.archive.org/web/20211209030216/https://magento.com/security/patches/supee-11219"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-21T03:45:30.520630026Z"}}