CVE-2024-20759
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAdobe Commerce versions 2.4.6-p4, 2.4.5-p6, 2.4.4-p7, 2.4.7-beta3 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by a high-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. Confidentiality and integrity are considered high due to having admin impact.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceStored Cross-Site Scripting (XSS) vulnerability in Adobe Commerce (Magento) affecting multiple versions. A high-privileged admin user can inject malicious JavaScript into vulnerable form fields, which executes in other administrators' browsers when viewing the affected pages, potentially allowing session hijacking or privilege escalation.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE dataall versions= 2.3.7= 2.4.0= 2.4.1= 2.4.2= 2.4.3= 2.4.4= 2.4.5= 2.4.6= 2.4.7= 2.4.4= 2.4.5= 2.4.6= 2.4.7CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- High
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Determine your Adobe Commerce or Magento installed versionRun the command 'php bin/magento --version' from the Magento root directory, or log into the admin panel and check the footer for the version numberAffected if The version matches any of the affected versions: 2.3.7, 2.4.0, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, or 2.4.7, or shows as 'all versions' for Adobe Commerce
-
Verify if you are running a patched or fixed versionCompare your installed version against the fixed releases: 2.4.6-p5, 2.4.5-p7, 2.4.4-p8, or 2.4.7 and later. If your version is lower or you are on the base releases listed above without the -pN patch suffix, you are likely affectedAffected if Your version is lower than the fixed versions listed above or does not have the required patch level
-
Confirm admin panel accessibilityCheck if your Magento admin panel is exposed to the internet or accessible by untrusted users. Review your web server access controls and firewall rules for /admin or custom admin path endpointsAffected if The admin panel is accessible to users who are not fully trusted or is internet-facing without strong authentication controls
-
Identify high-privileged admin accountsReview your admin user list in the Magento admin panel under System > Permissions > All Users, or query the admin_user table in the database, to determine which users have elevated privilegesAffected if You have multiple admin users with high privileges, as the vulnerability requires a high-privileged admin user to inject the malicious script
You are affected if your installed Adobe Commerce or Magento version is 2.3.7 through 2.4.7 without the security patches applied, and you have high-privileged admin users who could inadvertently or maliciously inject XSS payloads into admin form fields.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedApply vendor-supplied security patches or update to the fixed versions (2.4.6-p5, 2.4.5-p7, 2.4.4-p8, or 2.4.7 and later). Input validation and output encoding should be implemented on all admin-facing form fields.
Upgrade to Adobe Commerce 2.4.6-p4 (or later), 2.4.5-p6 (or later), or 2.4.4-p7 (or later) depending on your version branch
- 1. Identify your current Adobe Commerce/Magento version in the admin panel under System > Web Setup Wizard or by checking the composer.json file
- 2. Determine which patch version applies to your current installation (2.4.4-p7, 2.4.5-p6, or 2.4.6-p4)
- 3. Back up your Adobe Commerce/Magento database and filesystem before applying any updates
- 4. For Adobe Commerce merchants: apply the appropriate security patch via the Quality Patches Tool (composer require magento/quality-patches) or apply the complete patch file from Adobe's security bulletin
- 5. For Magento Open Source users: apply the corresponding patch or upgrade to the patched version
- 6. Clear Magento cache after patching: bin/magento cache:clean
- 7. Verify the patch was applied successfully and test that the XSS vulnerability is no longer exploitable in affected form fields
- 8. Re-index the catalog if necessary: bin/magento indexer:reindex
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-20759 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-20759 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data