CVE-2026-25487: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in craftcms commerce
CVE-2026-25487 is a stored cross-site scripting (XSS) vulnerability in Craft Commerce versions 4. 0. 0-RC1 to 4. 10. 0 and 5. 0. 0 to 5. 5. 1. The vulnerability arises from improper sanitization of the Tax Rates 'Name' field in the Store Management section, allowing attackers to inject malicious JavaScript that executes in an administrator's browser.
AI Analysis
Technical Summary
CVE-2026-25487 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79 affecting Craft Commerce, an ecommerce platform built on Craft CMS. The flaw exists in versions from 4.0.0-RC1 up to 4.10.0 and 5.0.0 up to 5.5.1, where the Tax Rates 'Name' field in the Store Management section is not properly sanitized before rendering in the administrative interface. This improper neutralization of input allows an attacker with administrative privileges to inject malicious JavaScript code that is stored and later executed in the context of an administrator's browser session. Because the vulnerability is stored, the malicious script persists and can affect any administrator who views the compromised field. The attack vector requires authenticated access with high privileges (administrator) and some user interaction (viewing the affected page). The impact includes potential session hijacking, unauthorized actions, data theft, or further compromise of the administrative environment. The vulnerability has been addressed in Craft Commerce versions 4.10.1 and 5.5.2 by properly sanitizing the input in the Tax Rates 'Name' field. The CVSS v4.0 score of 6.1 reflects a medium severity, considering the network attack vector, low attack complexity, no privileges required for attack initiation (though high privileges are needed), and user interaction. No known exploits are reported in the wild as of the published date.
Potential Impact
For European organizations using Craft Commerce within the affected version ranges, this vulnerability poses a significant risk to the confidentiality and integrity of their ecommerce administrative environments. Exploitation could lead to unauthorized administrative actions, theft of sensitive customer or business data, and potential disruption of ecommerce operations. Given that the vulnerability requires administrator-level access, the threat is primarily from insider threats or attackers who have already compromised lower-level credentials. However, successful exploitation could escalate privileges or facilitate further attacks. The persistence of malicious scripts in the admin panel increases the risk of widespread compromise if multiple administrators access the affected interface. This could undermine trust in the ecommerce platform, lead to financial losses, and damage brand reputation. The medium severity rating suggests that while the vulnerability is serious, it is not trivially exploitable by remote unauthenticated attackers, somewhat limiting the scope of impact.
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 are possible, administrators should restrict access to the Store Management section to trusted personnel only and monitor for unusual activity. Input validation and sanitization should be enforced at the application level, especially for fields that are rendered in administrative interfaces. Implement Content Security Policy (CSP) headers to reduce the impact of potential XSS attacks by restricting the execution of unauthorized scripts. Conduct regular security audits and penetration testing focusing on administrative interfaces. Educate administrators about the risks of XSS and the importance of cautious interaction with user-generated content. Additionally, review logs for suspicious input in the Tax Rates 'Name' field and remove any suspicious entries. Employ multi-factor authentication (MFA) for administrative accounts to reduce the risk of credential compromise.
Affected Countries
Germany, United Kingdom, France, Netherlands, Sweden, Italy, Spain
CVE-2026-25487: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in craftcms commerce
Description
CVE-2026-25487 is a stored cross-site scripting (XSS) vulnerability in Craft Commerce versions 4. 0. 0-RC1 to 4. 10. 0 and 5. 0. 0 to 5. 5. 1. The vulnerability arises from improper sanitization of the Tax Rates 'Name' field in the Store Management section, allowing attackers to inject malicious JavaScript that executes in an administrator's browser.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-25487 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79 affecting Craft Commerce, an ecommerce platform built on Craft CMS. The flaw exists in versions from 4.0.0-RC1 up to 4.10.0 and 5.0.0 up to 5.5.1, where the Tax Rates 'Name' field in the Store Management section is not properly sanitized before rendering in the administrative interface. This improper neutralization of input allows an attacker with administrative privileges to inject malicious JavaScript code that is stored and later executed in the context of an administrator's browser session. Because the vulnerability is stored, the malicious script persists and can affect any administrator who views the compromised field. The attack vector requires authenticated access with high privileges (administrator) and some user interaction (viewing the affected page). The impact includes potential session hijacking, unauthorized actions, data theft, or further compromise of the administrative environment. The vulnerability has been addressed in Craft Commerce versions 4.10.1 and 5.5.2 by properly sanitizing the input in the Tax Rates 'Name' field. The CVSS v4.0 score of 6.1 reflects a medium severity, considering the network attack vector, low attack complexity, no privileges required for attack initiation (though high privileges are needed), and user interaction. No known exploits are reported in the wild as of the published date.
Potential Impact
For European organizations using Craft Commerce within the affected version ranges, this vulnerability poses a significant risk to the confidentiality and integrity of their ecommerce administrative environments. Exploitation could lead to unauthorized administrative actions, theft of sensitive customer or business data, and potential disruption of ecommerce operations. Given that the vulnerability requires administrator-level access, the threat is primarily from insider threats or attackers who have already compromised lower-level credentials. However, successful exploitation could escalate privileges or facilitate further attacks. The persistence of malicious scripts in the admin panel increases the risk of widespread compromise if multiple administrators access the affected interface. This could undermine trust in the ecommerce platform, lead to financial losses, and damage brand reputation. The medium severity rating suggests that while the vulnerability is serious, it is not trivially exploitable by remote unauthenticated attackers, somewhat limiting the scope of impact.
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 are possible, administrators should restrict access to the Store Management section to trusted personnel only and monitor for unusual activity. Input validation and sanitization should be enforced at the application level, especially for fields that are rendered in administrative interfaces. Implement Content Security Policy (CSP) headers to reduce the impact of potential XSS attacks by restricting the execution of unauthorized scripts. Conduct regular security audits and penetration testing focusing on administrative interfaces. Educate administrators about the risks of XSS and the importance of cautious interaction with user-generated content. Additionally, review logs for suspicious input in the Tax Rates 'Name' field and remove any suspicious entries. Employ multi-factor authentication (MFA) for administrative accounts to reduce the risk of credential compromise.
Affected Countries
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: 69823eb4f9fa50a62fd8cea3
Added to database: 2/3/2026, 6:30:12 PM
Last enriched: 2/11/2026, 11:42:30 AM
Last updated: 3/24/2026, 7:03:55 AM
Views: 53
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.