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

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

Description

Craft Commerce is an ecommerce platform for Craft CMS. From version 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 Methods Name field in the Store Management section is not properly sanitized before being displayed in the admin panel. This issue has been patched in version 5.5.2.

AI-Powered Analysis

AILast updated: 02/03/2026, 18:45:58 UTC

Technical Analysis

CVE-2026-25486 is a stored cross-site scripting (XSS) vulnerability identified in Craft Commerce, an ecommerce platform built on Craft CMS. The vulnerability affects versions from 5.0.0 up to 5.5.1 and stems from improper neutralization of input in the Shipping Methods Name field within the Store Management section. Specifically, the application fails to adequately sanitize user-supplied input before rendering it in the administrator panel, allowing an attacker to inject malicious JavaScript code. When an administrator views the affected page, the injected script executes in their browser context, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the admin interface. Exploitation requires the attacker to have authenticated access with administrator privileges to input the malicious payload and some level of user interaction (the admin viewing the page). The vulnerability does not require elevated privileges beyond admin access, nor does it affect confidentiality, integrity, or availability of the system directly but compromises the administrator's session and control. The issue was addressed and patched in Craft Commerce version 5.5.2. The CVSS v4.0 score is 6.1 (medium severity), reflecting network attack vector, low attack complexity, no privileges required beyond admin, and user interaction needed. No known exploits have been reported in the wild as of the publication date.

Potential Impact

For European organizations using Craft Commerce, this vulnerability poses a risk primarily to the confidentiality and integrity of administrative sessions. Successful exploitation could allow attackers to execute arbitrary JavaScript in the context of an administrator’s browser, potentially leading to theft of session tokens, unauthorized changes to ecommerce configurations, or manipulation of sensitive data such as pricing, shipping methods, or customer information. This could disrupt ecommerce operations, damage brand reputation, and lead to regulatory compliance issues under GDPR if customer data is compromised. Since the vulnerability requires admin-level access to inject the payload, the threat is heightened in environments with weak internal access controls or compromised administrator credentials. The impact is particularly significant for organizations with high-value ecommerce platforms or those handling sensitive customer transactions within Europe.

Mitigation Recommendations

European organizations should immediately upgrade Craft Commerce installations to version 5.5.2 or later to apply the official patch. In addition, implement strict input validation and sanitization on all user-supplied fields, especially those displayed in administrative interfaces. Enforce the principle of least privilege by restricting administrator access to trusted personnel only and regularly auditing admin accounts for suspicious activity. Employ multi-factor authentication (MFA) for all administrative users to reduce the risk of credential compromise. Monitor logs for unusual input patterns or repeated attempts to inject scripts. Consider deploying Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in admin browsers. Regularly train administrators on phishing and social engineering risks to prevent credential theft that could facilitate exploitation.

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: 69823eb3f9fa50a62fd8ce86

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

Last enriched: 2/3/2026, 6:45:58 PM

Last updated: 2/7/2026, 4:03:28 PM

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