Loading HuntDB...

GHSA-jjmg-xmq2-g6ff

GitHub Security Advisory

Magento 2 Community Edition XSS Vulnerability

✓ GitHub Reviewed MODERATE Has CVE

Advisory 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.

As 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.

Affected Packages

Packagist magento/community-edition
Affected versions: 2.2.0 (fixed in 2.2.10)
Packagist magento/community-edition
Affected versions: 2.3 (fixed in 2.3.2-p2)

Related CVEs

Key Information

GHSA ID
GHSA-jjmg-xmq2-g6ff
Published
May 24, 2022 5:00 PM
Last Modified
February 12, 2024 11:27 AM
CVSS Score
5.0 /10
Primary Ecosystem
Packagist
Primary Package
magento/community-edition
GitHub Reviewed
✓ Yes

Dataset

Last updated: July 1, 2025 6:26 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.