Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-25485: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in craftcms commerce

0
Medium
VulnerabilityCVE-2026-25485cvecve-2026-25485cwe-79
Published: Tue Feb 03 2026 (02/03/2026, 18:06:45 UTC)
Source: CVE Database V5
Vendor/Project: craftcms
Product: commerce

Description

Craft Commerce is an ecommerce platform for Craft CMS. In versions from 4.0.0-RC1 to 4.10.0 and from 5.0.0 to 5.5.1, a stored XSS vulnerability in Craft Commerce allows attackers to execute malicious JavaScript in an administrator’s browser. This occurs because the Shipping Categories (Name & Description) fields in the Store Management section are not properly sanitized before being displayed in the admin panel. This issue has been patched in versions 4.10.1 and 5.5.2.

AI-Powered Analysis

AILast updated: 02/03/2026, 18:46:15 UTC

Technical Analysis

CVE-2026-25485 is a stored Cross-Site Scripting (XSS) vulnerability identified in Craft Commerce, an ecommerce platform built on Craft CMS. The vulnerability affects versions from 4.0.0-RC1 up to 4.10.0 and 5.0.0 up to 5.5.1. It stems from improper neutralization of input in the Shipping Categories fields — specifically the 'Name' and 'Description' fields within the Store Management section of the admin panel. These fields do not properly sanitize user-supplied input before rendering it in the administrator interface, allowing an attacker to inject malicious JavaScript code. When an administrator views the affected page, the malicious script executes in their browser context. This can lead to session hijacking, privilege escalation, or other malicious activities performed with administrator privileges. The vulnerability requires the attacker to have the ability to submit crafted input to the Shipping Categories fields, which may require some level of access or exploitation of other weaknesses to achieve. The CVSS 4.0 vector indicates network attack vector (AV:N), low attack complexity (AC:L), no privileges required (PR:H indicates high privileges required, but the vector states PR:H, so some privileges are needed), user interaction required (UI:P), and scope and impact are high (SI:H). The vulnerability has been addressed in Craft Commerce versions 4.10.1 and 5.5.2 by properly sanitizing the input fields to prevent script injection. No public exploits have been reported to date, but the presence of stored XSS in an administrative interface makes this a significant risk if left unpatched.

Potential Impact

For European organizations using Craft Commerce versions prior to 4.10.1 or 5.5.2, this vulnerability poses a risk of administrative account compromise through stored XSS attacks. Successful exploitation could allow attackers to execute arbitrary JavaScript in the context of an administrator's browser, potentially leading to theft of session cookies, unauthorized actions within the ecommerce platform, or pivoting to other internal systems. This can result in data breaches, manipulation of ecommerce transactions, or disruption of business operations. Given the ecommerce context, impacts may include financial fraud, reputational damage, and regulatory non-compliance under GDPR if customer data is exposed or integrity is compromised. The requirement for user interaction (administrator viewing the malicious content) limits the attack surface but does not eliminate risk, especially in environments where multiple administrators access the system regularly. The medium severity rating reflects a moderate but tangible threat to confidentiality and integrity, with no direct impact on availability.

Mitigation Recommendations

European organizations should immediately verify their Craft Commerce version and upgrade to 4.10.1 or 5.5.2 or later to apply the official patch that sanitizes the Shipping Categories input fields. Until patched, restrict administrative access to trusted personnel and networks to reduce exposure. Implement Content Security Policy (CSP) headers to limit the impact of injected scripts. Conduct regular input validation and sanitization reviews for all user-supplied data in the ecommerce platform. Monitor administrative activity logs for unusual behavior that might indicate exploitation attempts. Educate administrators about the risks of clicking on untrusted links or viewing unverified input in the admin panel. Consider deploying web application firewalls (WAFs) with rules to detect and block common XSS payloads targeting Craft Commerce. Finally, maintain an incident response plan to quickly address any suspected compromise stemming from this vulnerability.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-02T16:31:35.822Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69823eb3f9fa50a62fd8ce80

Added to database: 2/3/2026, 6:30:11 PM

Last enriched: 2/3/2026, 6:46:15 PM

Last updated: 2/7/2026, 7:32:39 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats