CVE-2025-49557: Magento Community Edition Cross-Site Scripting Vulnerability

magento/community-edition Updated 02 Oct 2025

Summary

12/08/2025
Yes i
High
8.7

CVE-2025-49557: Magento Cross-site Scripting vulnerability. Affects magento/community-edition across 4 version ranges.

< 2.4.4-p15 >= 2.4.5-p1, < 2.4.5-p14 >= 2.4.6-p1, < 2.4.6-p12 >= 2.4.7-p1, < 2.4.7-p7

Fixed in 4 releases; the minimum fixed version depends on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Magento Community Edition is an open-source e-commerce platform that provides businesses with a flexible and scalable solution for online selling. It offers a wide range of features including product management, customer management, and order processing. However, certain versions of Magento are vulnerable to a stored Cross-Site Scripting (XSS) vulnerability, which can be exploited by low-privileged attackers to inject malicious scripts into form fields.

Vulnerability Detail

The vulnerability arises from improper validation of user input in form fields, allowing attackers to inject malicious scripts. This can lead to privilege escalation within the application or compromise sensitive user data. Exploitation requires user interaction, as a victim must visit the page containing the vulnerable field. The affected versions include Adobe Commerce versions 2.4.9-alpha1, 2.4.8-p1, 2.4.7-p6, 2.4.6-p11, 2.4.5-p13, 2.4.4-p14 and earlier. The CVSS score for this vulnerability is 8.7, indicating a high severity level.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.4.4-p15 2.4.4-p15
    composer require magento/community-edition:2.4.4-p15
  • >= 2.4.5-p1, < 2.4.5-p14 2.4.5-p14
    composer require magento/community-edition:2.4.5-p14
  • >= 2.4.6-p1, < 2.4.6-p12 2.4.6-p12
    composer require magento/community-edition:2.4.6-p12
  • >= 2.4.7-p1, < 2.4.7-p7 2.4.7-p7
    composer require magento/community-edition:2.4.7-p7

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a temporary workaround, ensure that user input is properly sanitized and validated before processing. This can help mitigate the risk of XSS attacks until the package is updated.

Conclusion

The CVE-2025-49557 vulnerability in Magento Community Edition poses a significant risk due to its potential for XSS attacks. It is crucial for users to update to the latest patched versions to protect their applications from exploitation. Implementing proper input validation can also serve as a temporary measure until the update is applied.

See every vulnerability recorded for magento/community-edition →

Share this vulnerability

FAQ

It is a stored Cross-Site Scripting (XSS) vulnerability that allows attackers to inject malicious scripts into form fields.

Affected versions include Adobe Commerce versions 2.4.9-alpha1, 2.4.8-p1, 2.4.7-p6, 2.4.6-p11, 2.4.5-p13, 2.4.4-p14 and earlier.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit the Vulert playground at Vulert Scanner to check if your application is affected without requiring signup.

The CVSS score of this vulnerability is 8.7, indicating a high severity level.

If you cannot update immediately, ensure that user input is sanitized and validated to reduce the risk of exploitation.

Related vulnerabilities

Recent vulnerabilities recorded for magento/community-edition.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.4.4-p15 2.4.4-p15
    composer require magento/community-edition:2.4.4-p15
  • >= 2.4.5-p1, < 2.4.5-p14 2.4.5-p14
    composer require magento/community-edition:2.4.5-p14
  • >= 2.4.6-p1, < 2.4.6-p12 2.4.6-p12
    composer require magento/community-edition:2.4.6-p12
  • >= 2.4.7-p1, < 2.4.7-p7 2.4.7-p7
    composer require magento/community-edition:2.4.7-p7

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback