Loading...
Skip to main content

CVE-2024-39403

HIGH

Magento Stored Cross-Site Scripting (XSS) vulnerability

Published August 14, 2024Updated November 6, 2025Source: osv

Summary

Magento 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.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update magento/community-edition to 2.4.5-p9 or later
composer require "magento/community-edition:^2.4.5-p9"
Composer
Update magento/community-edition to 2.4.4-p10 or later
composer require "magento/community-edition:^2.4.4-p10"
Composer
Update magento/community-edition to 2.4.7-p2 or later
composer require "magento/community-edition:^2.4.7-p2"
Composer
Update magento/community-edition to 2.4.6-p7 or later
composer require "magento/community-edition:^2.4.6-p7"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (9)

PackageEcosystemAffectedFixed In
magento/community-edition
packagist
2.4.5-p1, 2.4.5-p2, 2.4.5-p3, 2.4.5-p4 (+4 more)2.4.5-p9
magento/community-edition
packagist
2.4.4-p1, 2.4.4-p2, 2.4.4-p3, 2.4.4-p4 (+5 more)2.4.4-p10
magento/community-edition
packagist
2.4.7, 2.4.7-beta1, 2.4.7-beta2, 2.4.7-beta3 (+1 more)2.4.7-p2
magento/community-edition
packagist
2.4.7No fix available
magento/community-edition
packagist
2.4.5No fix available
magento/community-edition
packagist
2.4.6-p1, 2.4.6-p2, 2.4.6-p3, 2.4.6-p4 (+2 more)2.4.6-p7
magento/community-edition
packagist
2.4.6No fix available
magento/project-community-edition
packagist
0.1.0-alpha100, 0.1.0-alpha101, 0.1.0-alpha102, 0.1.0-alpha103 (+49 more)Range-based data available
magento/community-edition
packagist
2.4.4No fix available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.6 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
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

Frequently Asked Questions

What is CVE-2024-39403?
Magento Stored Cross-Site Scripting (XSS) vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.6/10).
How do I check if my project is affected by CVE-2024-39403?
CVE-2024-39403 affects magento/community-edition and magento/project-community-edition. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-39403 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
7.6

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-mmp7-8cg4-9wrg

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies