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-25522: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in craftcms commerce

0
Medium
VulnerabilityCVE-2026-25522cvecve-2026-25522cwe-79
Published: Tue Feb 03 2026 (02/03/2026, 18:10:33 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 Zone (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:44:30 UTC

Technical Analysis

CVE-2026-25522 is a stored cross-site scripting (XSS) vulnerability identified in Craft Commerce, an ecommerce platform integrated with Craft CMS. The vulnerability exists in versions from 4.0.0-RC1 up to 4.10.0 and from 5.0.0 up to 5.5.1. It stems from improper neutralization of input in the Shipping Zone Name and Description fields within the Store Management section of the administrative interface. Specifically, these fields do not adequately sanitize user-supplied input before rendering it in the administrator’s browser, allowing an attacker to inject malicious JavaScript code that executes when an admin views the affected page. The attack vector is network-based, with low complexity and no privileges required to submit the malicious input, but it requires user interaction in the form of an administrator viewing the compromised data. The vulnerability does not affect confidentiality, integrity, or availability directly but can lead to session hijacking, credential theft, or privilege escalation through exploitation of the administrator’s session. The issue has been addressed in Craft Commerce versions 4.10.1 and 5.5.2 by implementing proper input sanitization. No known exploits have been reported in the wild as of now. The CVSS 4.0 vector string (AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N) reflects a medium severity rating of 6.1, indicating a moderate risk that should be remediated promptly to prevent potential administrative compromise.

Potential Impact

For European organizations using Craft Commerce within the affected version ranges, this vulnerability poses a significant risk to administrative security. Exploitation could allow attackers to execute arbitrary JavaScript in the context of an administrator’s browser, potentially leading to session hijacking, theft of administrative credentials, or unauthorized actions performed with administrative privileges. This could result in unauthorized changes to ecommerce configurations, manipulation of orders, or exposure of sensitive customer data. Given that ecommerce platforms are critical for business operations and customer trust, successful exploitation could lead to financial losses, reputational damage, and regulatory compliance issues under GDPR if personal data is compromised. The medium severity rating suggests that while the vulnerability is not trivially exploitable without user interaction, the impact on confidentiality and integrity of administrative functions is substantial. Organizations with high ecommerce transaction volumes or those handling sensitive customer data are at greater risk. Additionally, the vulnerability could be leveraged as a foothold for further attacks within the network if administrative credentials are compromised.

Mitigation Recommendations

European organizations should immediately upgrade Craft Commerce installations to versions 4.10.1 or 5.5.2 or later, where the vulnerability is patched. Until upgrades can be performed, implement strict input validation and sanitization on all user-supplied data fields, especially those exposed in administrative interfaces. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the admin panel. Limit administrative access to trusted networks and use multi-factor authentication to reduce the risk of credential compromise. Regularly audit and monitor admin panel activity for unusual behavior that could indicate exploitation attempts. Educate administrators about the risks of interacting with untrusted input and encourage cautious handling of new or modified Shipping Zone entries. Additionally, consider deploying web application firewalls (WAFs) with rules designed to detect and block XSS payloads targeting the affected fields. Finally, maintain a robust patch management process to ensure timely application of security updates.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-02T18:21:42.487Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69823eb4f9fa50a62fd8cebb

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

Last enriched: 2/3/2026, 6:44:30 PM

Last updated: 2/7/2026, 1:25:36 AM

Views: 13

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