CVE-2022-35698: Magento Community Edition Stored XSS Vulnerability

magento/community-edition Updated 02 Oct 2025

Summary

15/10/2022
No i
High
10.0

CVE-2022-35698: Magento Open Source allows Stored Cross-Site Scripting (Stored XSS). Affects magento/community-edition versions >= 2.4.3-p1, <= 2.4.3-p3. No fix is published. 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, as well as control over the look, content, and functionality of online stores. It is known for its robust features, scalability, and extensive customization options. However, certain versions of Magento Community Edition have been found to be vulnerable to a Stored Cross-Site Scripting (XSS) vulnerability, which can be exploited by attackers to execute arbitrary code without user interaction.

Vulnerability Detail

The vulnerability identified as CVE-2022-35698 allows for Stored Cross-Site Scripting (XSS) in Adobe Commerce versions 2.4.3-p3 and earlier, 2.4.4-p1 and earlier, and 2.4.5 and earlier. This vulnerability arises from improper validation of user input, enabling attackers to inject malicious scripts that can be executed in the context of a user's session. The exploitation of this vulnerability can lead to post-authentication arbitrary code execution, posing significant risks to the integrity and confidentiality of the affected systems.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, users can limit access to the affected components of the application until the update is applied. This may involve restricting user permissions or disabling certain features that are susceptible to exploitation.

Conclusion

The CVE-2022-35698 vulnerability in Magento Community Edition poses a significant risk due to its potential for Stored XSS attacks. It is crucial for users to update their installations to the latest patched versions to safeguard against exploitation. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for magento/community-edition →

Share this vulnerability

FAQ

Stored XSS is a type of security vulnerability where an attacker is able to inject malicious scripts into content that is stored on the server and later served to users, allowing the script to execute in the context of the user's session.

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

Exploitation of this vulnerability can lead to unauthorized access, data theft, and the execution of arbitrary code, which can compromise the entire application and its data.

Yes, a patch is available. Users are advised to update to the latest version of Magento Community Edition to mitigate this vulnerability.

If immediate updating is not possible, consider implementing temporary workarounds such as restricting access to vulnerable components and monitoring for suspicious activity.

Related vulnerabilities

Recent vulnerabilities recorded for magento/community-edition.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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