Skip to main content

CVE-2025-24415 — Vulnerability in magento/community-edition

HIGH

Magento Stored Cross-Site Scripting (XSS) Vulnerability

Published February 11, 2025Updated February 28, 2025Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (1.26%). Schedule for your next planned update.

Does your project use an affected magento/community-edition version?

Paste your composer.lock to check it for CVE-2025-24415 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my composer.lock

Summary

Adobe Commerce versions 2.4.7-beta1, 2.4.7-p3, 2.4.6-p8, 2.4.5-p10, 2.4.4-p11 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. A successful attacker can abuse this to achieve session takeover, increasing the confidentiality and integrity impact as high.

Advisory Timeline

  • First published February 11, 2025 (653 days ago).
  • Last revised February 28, 2025 — 16 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Composer
Update magento/community-edition to 2.4.7-p4 or later
composer require "magento/community-edition:^2.4.7-p4"
Composer
Update magento/community-edition to 2.4.6-p9 or later
composer require "magento/community-edition:^2.4.6-p9"
Composer
Update magento/community-edition to 2.4.4-p12 or later
composer require "magento/community-edition:^2.4.4-p12"
Composer
Update magento/community-edition to 2.4.5-p11 or later
composer require "magento/community-edition:^2.4.5-p11"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (10)

Affects 1 ecosystem: Packagist (2).

PackageFixed In
magento/community-edition Packagist · Affected: 2.4.7, 2.4.7-beta1, 2.4.7-beta2, 2.4.7-beta3 (+3 more)2.4.7-p4
magento/community-edition Packagist · Affected: 2.4.6-p1, 2.4.6-p2, 2.4.6-p3, 2.4.6-p4 (+4 more)2.4.6-p9
magento/community-edition Packagist · Affected: 0.1.0-alpha100, 0.1.0-alpha101, 0.1.0-alpha102, 0.1.0-alpha103 (+145 more)2.4.4-p12
magento/community-edition Packagist · Affected: 2.4.7No fix available
magento/community-edition Packagist · Affected: 2.4.8-beta1No fix available
magento/community-edition Packagist · Affected: 2.4.5-p1, 2.4.5-p10, 2.4.5-p2, 2.4.5-p3 (+6 more)2.4.5-p11
magento/community-edition Packagist · Affected: 2.4.5No fix available
magento/community-edition Packagist · Affected: 2.4.6No fix available
magento/project-community-edition Packagist · Affected: 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 · Affected: 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) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

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

Frequently Asked Questions

What is CVE-2025-24415?
Magento Stored Cross-Site Scripting (XSS) Vulnerability. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.7/10).
How do I check if my project is affected by CVE-2025-24415?
CVE-2025-24415 affects magento/community-edition and magento/project-community-edition. It has a 1.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-24415 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.7

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
1.26%
EPSS percentile: 69.5

This is an above-median EPSS score — 69.5% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.

Also Known As

GHSA-gc27-rvvm-q77r

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock