CommerceApplication · Adobe

CVE-2024-20719

CRITICAL · 9.1 CVSS v3.1 Published 2024-02-15
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
97/100
Remediation priority · Urgent
Remotely reachable Zero-click

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 · unedited
Adobe Commerce versions 2.4.6-p3, 2.4.5-p5, 2.4.4-p6 and earlier are affected by a stored Cross-Site Scripting (XSS) vulnerability that could be abused by an admin attacker to inject malicious scripts into every admin page. Malicious JavaScript may be executed in a victim’s browser when they browse to the page containing the vulnerable field, that could be leveraged to gain admin access.

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 confidence

Adobe Commerce versions 2.4.6-p3, 2.4.5-p5, 2.4.4-p6 and earlier contain a stored XSS vulnerability in an admin-accessible field that persists malicious JavaScript across all admin pages, allowing privilege escalation to full admin access when victims browse affected pages.

MitigationApply the vendor patch or update to a fixed version; until then, restrict admin access to trusted users only and monitor for suspicious admin activity.

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 data
CommerceApplication
Affected:= 2.4.4= 2.4.5= 2.4.6

CVSS 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
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify Adobe Commerce installation version
    Run the following command in the Magento root directory: php bin/magento --version or check the composer.json file for the 'version' field under 'require' for 'magento/product-community-edition'
    Affected if The installed version is 2.4.4, 2.4.5, 2.4.6, or any version earlier than 2.4.4-p6, 2.4.5-p5, or 2.4.6-p3 (specifically 2.4.4 through 2.4.6 and earlier releases)
  2. Verify admin access is available
    Confirm that the /admin or custom admin URL path is accessible and that admin user accounts exist in the system
    Affected if The admin panel is accessible and unauthenticated or untrusted users could potentially access it
  3. Inspect admin-accessible custom fields for injected scripts
    Examine any custom fields or configurations in the admin panel (under Stores > Configuration, or custom modules) that accept user input and are not properly escaped when rendered. Query the core_config_data table for values containing script tags, iframe tags, or javascript: URIs
    Affected if Any admin-accessible field contains persisted HTML or JavaScript code (such as <script>, <img onerror=>, or javascript: handlers) that could execute when viewing admin pages
  4. Review admin user accounts for unauthorized changes
    Query the admin_user table for unexpected changes to user roles, email addresses, or password hashes, and check the authorization_role table for modifications to role permissions
    Affected if Admin user accounts have been modified, new admin accounts have been created without authorization, or role permissions have been altered unexpectedly
  5. Check for suspicious admin activity logs
    Review Magento logs (var/log/ and database tables like admin_user_login_log or enterprise_rma) for unusual admin login patterns, privilege escalation attempts, or actions performed outside normal business hours
    Affected if Logs show admin actions performed by compromised accounts or privilege escalation activity that was not initiated by legitimate administrators

A user is affected if their Adobe Commerce installation runs version 2.4.4 through 2.4.6 (or earlier) AND any admin-accessible field contains persisted malicious JavaScript that could be used to escalate privileges to full admin access.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Apply the vendor patch or update to a fixed version; until then, restrict admin access to trusted users only and monitor for suspicious admin activity.

Recommended fix Moderate confidence

Adobe Commerce 2.4.4-p7, 2.4.5-p6, or 2.4.6-p4 (depending on your baseline version)

  1. 1. Identify your current Adobe Commerce version by running: bin/magento --version
  2. 2. For Adobe Commerce 2.4.4: Upgrade to version 2.4.4-p7 or later using Composer: composer require magento/product-community-edition=2.4.4-p7 --no-update && composer update
  3. 3. For Adobe Commerce 2.4.5: Upgrade to version 2.4.5-p6 or later using Composer: composer require magento/product-community-edition=2.4.5-p6 --no-update && composer update
  4. 4. For Adobe Commerce 2.4.6: Upgrade to version 2.4.6-p4 or later using Composer: composer require magento/product-community-edition=2.4.6-p4 --no-update && composer update
  5. 5. After upgrade, clear the cache: bin/magento cache:clean
  6. 6. Deploy static content if in production mode: bin/magento setup:static-content:deploy
  7. 7. Verify the upgrade was successful: bin/magento --version
Caveat Standard Adobe Commerce upgrade considerations apply: test in staging first, review custom code/themes/modules for compatibility, backup database before production upgrade

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Commerce Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing8.0 h
  • Review / QA4.0 h
24.0 hours of engineering $4,160
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,656.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-20719 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2024-20719 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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