CVE-2019-7887 json
Magento 2 Community Edition Cross-site Scripting Vulnerability
published 7y ago modified 4mo ago also GHSA-rj8f-g5gm-jw5c , EUVD-2022-5185
- cvss
- 4.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 46%
- public exploits
- 0
- none known
Summary
A reflected cross-site scripting vulnerability exists in the admin panel of Magento Open Source prior to 1.9.4.2, and Magento Commerce prior to 1.14.4.2, Magento 2.1 prior to 2.1.18, Magento 2.2 prior to 2.2.9, Magento 2.3 prior to 2.3.2 when the feature that adds a secret key to the Admin URL is disabled.
Patch / fix
- packagist magento/community-edition 2.1.18, 2.2.9, 2.3.2
- magento magento 1.9.4.2, 1.14.4.2, 2.1.18, 2.2.9, 2.3.2
Is CVE-2019-7887 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
0.56% chance of exploitation in the next 30 days, higher than 46% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 4.8 | CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.0 | 4.8 | CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | magento/community-edition | >=2.1.0, <2.1.18 >=2.2.0, <2.2.9 >=2.3.0, <2.3.2 |
2.1.18 2.2.9 2.3.2 |
Affected products
- n/a Magento 1 Magento 2
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
magento.com
/security/patches/magento-2.3.2-2.2.9-and-2.1.18-security-update-23
web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-7887
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/magento/magento1ce/CVE-2019-7887.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/magento/magento1ee/CVE-2019-7887.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/magento/product-community-edition/CVE-2019-7887.yaml
web
-
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
Sources
- CVE List CVE-2019-7887
- GitHub Advisory GHSA-rj8f-g5gm-jw5c
- NVD CVE-2019-7887
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.