CVE-2019-7881
MEDIUM 5.4CVSS 3.0Magento 2 Community Edition XSS Vulnerability
A cross-site scripting mitigation bypass exists in Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2. This could be exploited by an authenticated user to escalate privileges (admin vs. admin XSS attack).
- Published
- 2 Aug 2019
- Last modified
- 17 Jun 2026
- Assigned by
- psirt@adobe.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-7xqv-jgv6-x2h8
- Sources
- NVDJSONOSV GHSA-7xqv-jgv6-x2h8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
>= 2.1.0, < 2.1.18 | 2.1.18 |
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
>= 2.2.0, < 2.2.9 | 2.2.9 |
| NVD | magento | magentocpe:2.3:a:magento:magento:*:*:*:*:open_source:*:*:* |
>= 2.3.0, < 2.3.2 | 2.3.2 |
| OSV | Packagist | magento/community-edition | >= 2.1, < 2.1.18 | 2.1.18 |
| OSV | Packagist | magento/community-edition | >= 2.2, < 2.2.9 | 2.2.9 |
| OSV | Packagist | magento/community-edition | >= 2.3, < 2.3.2 | 2.3.2 |
References
- https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-23 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-7881 · ADVISORY
- https://github.com/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7881.yaml · WEB
- https://web.archive.org/web/20220121051916/https://magento.com/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-23 · WEB
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 2 Aug 2019)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 24 May 2022)