CVE-2024-45123 Adobe Commerce | Cross-site Scripting (Reflected XSS) (CWE-79)
Attackers can execute malicious JavaScript in victims' browsers via reflected XSS in Adobe Commerce, requiring user interaction.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-45123?
CVE-2024-45123 is a medium-severity cross-site scripting vulnerability in Adobe Commerce, published on 10 Oct 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Adobe Commerce versions 2.4.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10 and earlier are affected by a reflected Cross-Site Scripting (XSS) vulnerability. If an attacker is able to convince a victim to visit a URL referencing a vulnerable page, malicious JavaScript content may be executed within the context of the victim's browser.
Weakness: CWE-79
Which versions are affected by CVE-2024-45123?
10 open source packages ship an affected version, including magento/community-edition. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
magento/community-edition Packagist | All versions | None |
magento/community-edition Packagist | All versions | None |
magento/community-edition Packagist | All versions | 2.4.4-p11 |
magento/community-edition Packagist | All versions | 2.4.4-p11 |
magento/community-edition Packagist | From 2.4.5-p1 | 2.4.5-p10 |
magento/community-edition Packagist | From 2.4.5-p1 | 2.4.5-p10 |
4 more packages
magento/community-edition Packagist | From 2.4.6-p1 | 2.4.6-p8 |
magento/community-edition Packagist | From 2.4.6-p1 | 2.4.6-p8 |
magento/community-edition Packagist | From 2.4.7-beta1 | 2.4.7-p3 |
magento/community-edition Packagist | From 2.4.7-beta1 | 2.4.7-p3 |
Products include Adobe Commerce, Adobe Commerce B2b, Adobe Magento.
How do I fix CVE-2024-45123?
Upgrade magento/community-edition to a fixed version for your release line: 2.4.4-p11, 2.4.5-p10, 2.4.6-p8 or 2.4.7-p3.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-45123 being exploited?
There is no known exploitation of CVE-2024-45123 in the wild and no public exploit code.
Other vulnerabilities in Adobe Commerce
- CVE-2026-75650 Adobe Commerce and Magento Improper Neutralization of Special Elements Used in a Template Engine
- CVE-2024-34102 Adobe Commerce and Magento Open Source Improper Restriction of XML External Entity Reference (XXE)
- CVE-2022-24086 Adobe Commerce and Magento Open Source Improper Input Validation
- CVE-2026-48356 Adobe Commerce and Magento Unrestricted Upload of File with Dangerous Type
- CVE-2026-71362 Adobe Commerce and Magento Incorrect Authorization Vulnerability
Sources
Also known as GHSA-88x2-cq34-5fwc.