CVE-2023-29297 Admin-to-admin stored XSS via cache poisoning

Critical 9.1 Published Updated

An admin-privilege attacker can achieve arbitrary code execution via stored XSS through cache poisoning in Adobe Commerce.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-29297?

CVE-2023-29297 is a critical cross-site scripting vulnerability in Adobe Commerce, published on 15 Jun 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Adobe Commerce versions 2.4.6 (and earlier), 2.4.5-p2 (and earlier) and 2.4.4-p3 (and earlier) are affected by a Improper Neutralization of Special Elements Used in a Template Engine vulnerability that could lead to arbitrary code execution by an admin-privilege authenticated attacker. Exploitation of this issue does not require user interaction.

Weakness: CWE-1336

Which versions are affected by CVE-2023-29297?

8 open source packages ship an affected version, including magento/community-edition and magento/project-community-edition. It affects 2 products.

PackageAffectedFixed in
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistAll versionsNone
magento/community-edition PackagistFrom 2.4.4-p12.4.4-p4
magento/community-edition PackagistFrom 2.4.4-p12.4.4-p4
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p3
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p3
2 more packages
magento/project-community-edition PackagistAll versions to 2.0.2None
magento/project-community-edition PackagistAll versions to 2.0.2None

Products include Adobe Commerce, Adobe Magento.

How do I fix CVE-2023-29297?

Upgrade magento/community-edition to a fixed version for your release line: 2.4.4-p4 or 2.4.5-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-2023-29297 being exploited?

There is no known exploitation of CVE-2023-29297 in the wild and no public exploit code.

All Adobe Commerce vulnerabilities

Sources

Also known as GHSA-gfmm-ww6f-5mm5.

Is CVE-2023-29297 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free