CVE-2025-47110: Magento Stored XSS Vulnerability in Community Edition

magento/community-edition Updated 02 Oct 2025

Summary

10/06/2025
Yes i
Critical
9.1

CVE-2025-47110: Magneto contains stored XSS vulnerability. Affects magento/community-edition across 4 version ranges.

< 2.4.5-p13 >= 2.4.6-p1, < 2.4.6-p11 >= 2.4.7-beta1, < 2.4.7-p6 >= 2.4.8-beta1, < 2.4.8-p1

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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Magento is a widely-used open-source e-commerce platform that provides a flexible shopping cart system, control over the look and feel of the online store, and powerful marketing tools. The community edition is a free version that allows developers to customize and extend the platform. However, certain versions of Magento have been found to be vulnerable to a stored Cross-Site Scripting (XSS) vulnerability, which can be exploited by attackers to inject malicious scripts into form fields.

Vulnerability Detail

The stored XSS vulnerability in Magento versions 2.4.8, 2.4.7-p5, 2.4.6-p10, 2.4.5-p12, 2.4.4-p13 and earlier arises from insufficient input validation in form fields. A high-privileged attacker can exploit this vulnerability to inject malicious JavaScript code, which may execute in the browser of any user who visits the affected page. This can lead to unauthorized actions, data theft, and a compromised user experience.

How To Fix

Fixed versions by release line

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

  • < 2.4.5-p13 2.4.5-p13
    composer require magento/community-edition:2.4.5-p13
  • >= 2.4.6-p1, < 2.4.6-p11 2.4.6-p11
    composer require magento/community-edition:2.4.6-p11
  • >= 2.4.7-beta1, < 2.4.7-p6 2.4.7-p6
    composer require magento/community-edition:2.4.7-p6
  • >= 2.4.8-beta1, < 2.4.8-p1 2.4.8-p1
    composer require magento/community-edition:2.4.8-p1

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, you can restrict access to the affected form fields or sanitize user inputs until the patch is applied. However, this is not a permanent solution and updating to the latest version is strongly recommended.

Conclusion

The stored XSS vulnerability in Magento poses a significant risk to users and their data. It is crucial for administrators to update their installations to the latest patched versions to protect against potential attacks. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for magento/community-edition →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.1, indicating a critical severity level.

Magento versions 2.4.8, 2.4.7-p5, 2.4.6-p10, 2.4.5-p12, 2.4.4-p13 and earlier are affected by this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check if your application is affected by visiting the Vulert playground at Vulert Scanner without any signup.

If exploited, this vulnerability can lead to unauthorized actions, data theft, and a compromised user experience for visitors to the affected Magento site.

Yes, you can restrict access to the affected form fields or sanitize user inputs as a temporary measure until the patch is applied.

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.5-p13 2.4.5-p13
    composer require magento/community-edition:2.4.5-p13
  • >= 2.4.6-p1, < 2.4.6-p11 2.4.6-p11
    composer require magento/community-edition:2.4.6-p11
  • >= 2.4.7-beta1, < 2.4.7-p6 2.4.7-p6
    composer require magento/community-edition:2.4.7-p6
  • >= 2.4.8-beta1, < 2.4.8-p1 2.4.8-p1
    composer require magento/community-edition:2.4.8-p1

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