CommerceApplication · Adobe

CVE-2024-39403

HIGH · 7.6 CVSS v3.1 Published 2024-08-14
Fix available
A fix is available. Upgrade to after 2.4.3 or later.
See remediation →
80/100
Remediation priority · High
Remotely reachable

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.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 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. Confidentiality impact is high due to the attacker being able to exfiltrate sensitive information.

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

Stored Cross-Site Scripting (XSS) vulnerability in Adobe Commerce allows low-privileged attackers to inject malicious JavaScript into form fields. When authenticated users browse to pages containing the compromised fields, the malicious script executes in their browsers, enabling exfiltration of sensitive session data, cookies, or other confidential information.

MitigationApply vendor-supplied patches or upgrade Adobe Commerce to fixed versions (2.4.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10 or later) and validate that all user input fields properly sanitize/output-encode data.

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.3= 2.4.4= 2.4.5= 2.4.6= 2.4.7
MagentoCMS
Affected:<= 2.4.3= 2.4.4= 2.4.5= 2.4.6= 2.4.7

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
Low
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/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 checks

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

  1. Check Adobe Commerce/Magento installed version
    Run 'bin/magento --version' from the Magento root directory, or inspect the 'version' field in composer.json at the root of the installation
    Affected if The version returned is 2.4.3 or earlier, or exactly 2.4.4, 2.4.5, 2.4.6, or 2.4.7 (not patched versions like 2.4.7-p2, 2.4.6-p7, 2.4.5-p9, or 2.4.4-p10)
  2. Verify admin user access for form submission
    Log into the admin panel with a low-privileged user account (e.g., a user with limited permissions) and navigate to form-based modules such as CMS pages, product reviews, customer attributes, or newsletter subscription settings
    Affected if A low-privileged authenticated user can access and submit data in form fields without receiving permission errors
  3. Test for XSS in user-editable form fields
    Using a low-privileged admin account, insert a benign XSS test payload such as '<script>alert(1)</script>' into commonly used form fields (e.g., CMS block title, product name, review content, category name) and save the form
    Affected if The payload is saved and, after navigating away and returning to the page containing that field, the script tag renders as raw text or executes an alert, indicating lack of output encoding
  4. Inspect user input sanitization in custom modules
    Examine PHP files in app/code or vendor directory that handle form input, looking for instances where _post, _get, or _request data is rendered to templates without using $block->escapeHtml(), $block->escapeHtmlAttr(), or similar sanitization functions
    Affected if Form input data is rendered directly to HTML templates without output encoding functions

You are affected if your installed Adobe Commerce or Magento version matches the affected list and low-privileged users can inject and store unsanitized script content into form fields that render in authenticated user browsers.

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
Upgrade available Upgrade to a release after 2.4.3
Interim mitigation

Apply vendor-supplied patches or upgrade Adobe Commerce to fixed versions (2.4.7-p2, 2.4.6-p7, 2.4.5-p9, 2.4.4-p10 or later) and validate that all user input fields properly sanitize/output-encode data.

Recommended fix High confidence

Adobe Commerce 2.4.4-p10 / 2.4.5-p9 / 2.4.6-p7 / 2.4.7-p2 or later (latest available patch release for your version line)

  1. 1. Identify your current Adobe Commerce/Magento version by running: bin/magento --version
  2. 2. Determine the appropriate target version based on your current release line
  3. 3. For Commerce 2.4.4: Upgrade to 2.4.4-p10 or later using Composer: composer require magento/product-community-edition=2.4.4-p10 --no-update && composer update
  4. 4. For Commerce 2.4.5: Upgrade to 2.4.5-p9 or later using Composer: composer require magento/product-community-edition=2.4.5-p9 --no-update && composer update
  5. 5. For Commerce 2.4.6: Upgrade to 2.4.6-p7 or later using Composer: composer require magento/product-community-edition=2.4.6-p7 --no-update && composer update
  6. 6. For Commerce 2.4.7: Upgrade to 2.4.7-p2 or later using Composer: composer require magento/product-community-edition=2.4.7-p2 --no-update && composer update
  7. 7. Run database upgrade: bin/magento setup:upgrade
  8. 8. Clear caches: bin/magento cache:flush
Caveat Review Adobe Commerce release notes for your target version for any known compatibility issues with custom code or extensions; patch upgrades typically have low risk but should be tested in a staging environment first

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
  • Testing6.0 h
  • Review / QA2.0 h
20.0 hours of engineering $3,500
Get the upgrade done

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

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

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