CVE-2026-26188: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in solspace craft-freeform
CVE-2026-26188 is a stored cross-site scripting (XSS) vulnerability in the Solspace Freeform plugin for Craft CMS versions 5. 0. 0 up to but not including 5. 14. 7. It allows an authenticated user with low privileges, such as the ability to create or edit forms, to inject arbitrary HTML or JavaScript into the Craft Control Panel builder and integrations views. This occurs because user-controlled form labels and integration metadata are rendered using dangerouslySetInnerHTML without proper sanitization. When an administrator views these builder or integration screens, the malicious script executes, potentially compromising the admin session or performing unauthorized actions. The vulnerability has a CVSS 4. 0 score of 5.
AI Analysis
Technical Summary
The Solspace Freeform plugin for Craft CMS, a widely used form-building tool, suffers from a stored cross-site scripting (XSS) vulnerability identified as CVE-2026-26188. This vulnerability arises from improper neutralization of input during web page generation (CWE-79). Specifically, authenticated users with low privileges who can create or edit forms are able to inject arbitrary HTML or JavaScript code into form labels and integration metadata fields. These inputs are rendered in the Craft Control Panel's builder and integrations views using React's dangerouslySetInnerHTML property without adequate sanitization or encoding, allowing malicious scripts to be stored persistently. When an administrator or any user with higher privileges accesses these views, the injected scripts execute in their browser context, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the CMS. The vulnerability affects all versions from 5.0.0 up to but not including 5.14.7, where the vendor has implemented proper input sanitization and output encoding to mitigate this risk. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required beyond low-level authenticated access, and no user interaction needed beyond viewing the affected pages. Although no active exploits have been reported, the risk remains significant due to the potential impact on administrative accounts and the persistence of the injected payloads.
Potential Impact
This vulnerability poses a moderate risk to organizations using the Solspace Freeform plugin on Craft CMS, particularly those with multiple user roles including low-privilege users and administrators. An attacker with low-level authenticated access can inject malicious scripts that execute in the context of higher-privileged users, such as administrators, leading to session hijacking, theft of sensitive information, unauthorized configuration changes, or deployment of further malware. This can compromise the integrity and confidentiality of the CMS environment and potentially the broader web infrastructure it supports. Since the vulnerability is stored XSS, the malicious payload persists and can affect multiple users over time. Organizations relying on Craft CMS for critical web applications or content management may face disruption, data breaches, or reputational damage if exploited. The medium CVSS score reflects the need for authentication and some user interaction (viewing the affected pages), which somewhat limits the attack surface but does not eliminate the threat. The absence of known exploits in the wild suggests that proactive patching can effectively prevent exploitation.
Mitigation Recommendations
Organizations should immediately upgrade the Solspace Freeform plugin to version 5.14.7 or later, where this vulnerability is patched. Until upgrading is possible, restrict the ability to create or edit forms to trusted users only, minimizing the risk of malicious input injection. Implement additional Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within the Craft Control Panel. Regularly audit form labels and integration metadata for suspicious or unexpected HTML/JavaScript content. Employ web application firewalls (WAFs) with custom rules to detect and block typical XSS payloads targeting the Craft Control Panel. Educate administrators to be cautious when reviewing forms or integration screens and to report anomalies promptly. Finally, monitor logs for unusual activity or access patterns that might indicate attempts to exploit this vulnerability.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, Netherlands, France, Japan, Sweden, Switzerland
CVE-2026-26188: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in solspace craft-freeform
Description
CVE-2026-26188 is a stored cross-site scripting (XSS) vulnerability in the Solspace Freeform plugin for Craft CMS versions 5. 0. 0 up to but not including 5. 14. 7. It allows an authenticated user with low privileges, such as the ability to create or edit forms, to inject arbitrary HTML or JavaScript into the Craft Control Panel builder and integrations views. This occurs because user-controlled form labels and integration metadata are rendered using dangerouslySetInnerHTML without proper sanitization. When an administrator views these builder or integration screens, the malicious script executes, potentially compromising the admin session or performing unauthorized actions. The vulnerability has a CVSS 4. 0 score of 5.
AI-Powered Analysis
Technical Analysis
The Solspace Freeform plugin for Craft CMS, a widely used form-building tool, suffers from a stored cross-site scripting (XSS) vulnerability identified as CVE-2026-26188. This vulnerability arises from improper neutralization of input during web page generation (CWE-79). Specifically, authenticated users with low privileges who can create or edit forms are able to inject arbitrary HTML or JavaScript code into form labels and integration metadata fields. These inputs are rendered in the Craft Control Panel's builder and integrations views using React's dangerouslySetInnerHTML property without adequate sanitization or encoding, allowing malicious scripts to be stored persistently. When an administrator or any user with higher privileges accesses these views, the injected scripts execute in their browser context, potentially leading to session hijacking, privilege escalation, or unauthorized actions within the CMS. The vulnerability affects all versions from 5.0.0 up to but not including 5.14.7, where the vendor has implemented proper input sanitization and output encoding to mitigate this risk. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges required beyond low-level authenticated access, and no user interaction needed beyond viewing the affected pages. Although no active exploits have been reported, the risk remains significant due to the potential impact on administrative accounts and the persistence of the injected payloads.
Potential Impact
This vulnerability poses a moderate risk to organizations using the Solspace Freeform plugin on Craft CMS, particularly those with multiple user roles including low-privilege users and administrators. An attacker with low-level authenticated access can inject malicious scripts that execute in the context of higher-privileged users, such as administrators, leading to session hijacking, theft of sensitive information, unauthorized configuration changes, or deployment of further malware. This can compromise the integrity and confidentiality of the CMS environment and potentially the broader web infrastructure it supports. Since the vulnerability is stored XSS, the malicious payload persists and can affect multiple users over time. Organizations relying on Craft CMS for critical web applications or content management may face disruption, data breaches, or reputational damage if exploited. The medium CVSS score reflects the need for authentication and some user interaction (viewing the affected pages), which somewhat limits the attack surface but does not eliminate the threat. The absence of known exploits in the wild suggests that proactive patching can effectively prevent exploitation.
Mitigation Recommendations
Organizations should immediately upgrade the Solspace Freeform plugin to version 5.14.7 or later, where this vulnerability is patched. Until upgrading is possible, restrict the ability to create or edit forms to trusted users only, minimizing the risk of malicious input injection. Implement additional Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts within the Craft Control Panel. Regularly audit form labels and integration metadata for suspicious or unexpected HTML/JavaScript content. Employ web application firewalls (WAFs) with custom rules to detect and block typical XSS payloads targeting the Craft Control Panel. Educate administrators to be cautious when reviewing forms or integration screens and to report anomalies promptly. Finally, monitor logs for unusual activity or access patterns that might indicate attempts to exploit this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-11T19:56:24.812Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 698ec65ac9e1ff5ad8f7fbe0
Added to database: 2/13/2026, 6:36:10 AM
Last enriched: 2/20/2026, 9:07:16 AM
Last updated: 2/21/2026, 12:20:24 AM
Views: 40
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.
Related Threats
CVE-2026-27203: CWE-15: External Control of System or Configuration Setting in YosefHayim ebay-mcp
HighCVE-2026-27168: CWE-122: Heap-based Buffer Overflow in HappySeaFox sail
HighCVE-2026-27134: CWE-287: Improper Authentication in strimzi strimzi-kafka-operator
HighCVE-2026-27190: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in denoland deno
HighCVE-2026-27026: CWE-770: Allocation of Resources Without Limits or Throttling in py-pdf pypdf
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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.