CVE-2024-45116
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.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10 and earlier are affected by a Cross-Site Scripting (XSS) vulnerability that could be exploited to execute arbitrary code. If an admin attacker can trick a user into clicking a specially crafted link or submitting a form, malicious scripts may be executed within the context of the victim's browser and have high impact on confidentiality and integrity. Exploitation of this issue requires user interaction.
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 confidenceA Cross-Site Scripting (XSS) vulnerability in Adobe Commerce allows an authenticated admin attacker to inject malicious scripts through specially crafted links or forms. When victim users interact with these, the scripts execute within their browser context, enabling session hijacking, data theft, 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= 1.3.3= 1.3.4= 1.3.5= 1.4.2all versions= 2.4.3= 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.
-
Identify your Adobe Commerce or Magento installation versionLog into the admin panel and navigate to System > Settings > Advanced > Admin > Admin User Model or check the composer.json file in the installation root for the version entryAffected if The installed version matches any of the affected versions listed (2.3.7, 2.4.0 through 2.4.7 for Commerce; 2.3.7, 2.4.3 through 2.4.7 for Magento; or any version if 'all versions' applies)
-
Verify if the B2B extension version is affectedIf Adobe Commerce B2B is installed, check the B2B extension version through composer or the admin panel under Stores > Configuration > B2B FeaturesAffected if The B2B extension version is 1.3.3, 1.3.4, 1.3.5, or 1.4.2
-
Confirm admin panel access existsVerify that the admin panel is accessible and that administrator accounts exist. This vulnerability requires an authenticated admin attacker to inject the malicious scriptAffected if The admin panel is reachable and active user accounts with admin privileges exist in the system
-
Review recent admin account activityCheck the admin user logs or audit trails for any unexpected admin accounts created or unusual modifications, especially around the time frame of this vulnerability disclosureAffected if Unexpected admin accounts or suspicious admin activity is found in the logs
-
Inspect for unfamiliar admin-created contentReview CMS pages, blocks, and widgets created by administrators for any suspicious JavaScript or iframe elements that were not intentionally addedAffected if Malicious script tags or unexpected external resource references are found in admin-created content
Your environment is likely affected if you run any Adobe Commerce, Magento, or B2B version matching the listed affected versions and your admin panel is accessible to authenticated users.
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 Adobe's official security patch for this CVE and upgrade to a supported version. Implement Content Security Policy (CSP) headers as defense-in-depth to mitigate XSS execution.
Upgrade to Adobe Commerce 2.4.7-p3 / 2.4.6-p8 / 2.4.5-p10 / 2.4.4-p11 or later (or latest 2.4.x/2.3.x compatible release with security patch)
- Identify current Adobe Commerce/Magento version in use (check admin panel or composer.json)
- Review the Adobe Commerce release calendar or helpx.adobe.com for the security patch release containing the fix for CVE-2024-45116
- Plan upgrade to the minimum patched version: for 2.4.4.x upgrade to 2.4.4-p11 or later; for 2.4.5.x upgrade to 2.4.5-p10 or later; for 2.4.6.x upgrade to 2.4.6-p8 or later; for 2.4.7.x upgrade to 2.4.7-p3 or later
- Backup the entire Magento file system and database before upgrade
- Run composer require magento/product-community-edition:<fixed_version> --no-update to update version constraints
- Run composer update to fetch new packages
- Run bin/magento setup:upgrade to apply database migrations
- Clear caches with bin/magento cache:flush
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing6.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 $3,808.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-45116 — 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-45116 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