GitHub Advisory Database
GHSA-fm68-89m8-4gjj
Composer JavaScript injection possible via html comments
Details
In Magento 2.2 prior to 2.2.10, Magento 2.3 prior to 2.3.3 or 2.3.2-p1, an unauthenticated user can inject arbitrary JavaScript code as a result of the sanitization engine ignoring HTML comments.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | magento/community-edition | From 2.2 before 2.2.10 (fixed in 2.2.10) |
| Packagist | magento/community-edition | From 2.3 before 2.3.3 (fixed in 2.3.3) |