CVE-2023-38219 Validate Your Inputs | Cross-site Scripting (Stored XSS) (CWE-79) - Customer to Admin stored XSS with Gift wrapping

High 8.7 Published Updated

Low-privileged attackers can inject malicious scripts via gift wrapping fields, leading to stored XSS in the admin area.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-38219?

CVE-2023-38219 is a high-severity cross-site scripting vulnerability in Adobe Commerce, published on 13 Oct 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Adobe Commerce versions 2.4.7-beta1 (and earlier), 2.4.6-p2 (and earlier), 2.4.5-p4 (and earlier) and 2.4.4-p5 (and earlier) are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by a low-privileged attacker to inject malicious scripts into vulnerable form fields. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field. Payload is stored in an admin area, resulting in high confidentiality and integrity impact.

Weakness: CWE-79

Which versions are affected by CVE-2023-38219?

12 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-p6
magento/community-edition PackagistFrom 2.4.4-p12.4.4-p6
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p5
magento/community-edition PackagistFrom 2.4.5-p12.4.5-p5
6 more packages
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p3
magento/community-edition PackagistFrom 2.4.6-p12.4.6-p3
magento/community-edition PackagistFrom 2.4.7-beta12.4.7-beta2
magento/community-edition PackagistFrom 2.4.7-beta12.4.7-beta2
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-38219?

Upgrade magento/community-edition to a fixed version for your release line: 2.4.4-p6, 2.4.5-p5, 2.4.6-p3 or 2.4.7-beta2.

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-38219 being exploited?

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

All Adobe Commerce vulnerabilities

Sources

Also known as GHSA-3j7w-jp46-9752.

Is CVE-2023-38219 in your software?

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

Check your SBOMs for free