GitHub Advisoryadvisory · Packagist
GHSA-jp3q-wwp3-pwv9 Freeform Craft Plugin CP UI (builder/integrations) has Stored Cross-Site Scripting (XSS) issue
LOW
Official page ↗
- Aliases
- CVE-2026-26188
- Ecosystem
- Packagist
- Packages
- solspace/craft-freeform
- Severity
- Low
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P
- Weaknesses
- CWE-79
- Reviewed
- 2026-01-22
Affected packages
• Packagist solspace/craft-freeform: >= 5.0.0, < 5.14.7 → fixed in 5.14.7
Description
Summary
An authenticated, low-privilege user (able to create/edit forms) can inject arbitrary HTML/JS into the Craft Control Panel (CP) builder and integrations views. User-controlled form labels and integration metadata are rendered with `dangerouslySetInnerHTML` without sanitization, leading to stored XSS that executes when any admin views the builder/integration screens.
Affected Product
• Ecosystem: Packagist (Craft CMS plugin)
• Package: solspace/craft-freeform
• Version: `.
2. Open the form builder view containing the field.
3. Alert executes (stored XSS).
• Integration icon SVG:
1. Set an integration "icon SVG" to `alert('xss-icon')`.
2. Open the integrations CP view.
3. Script executes.
Impact
Arbitrary JS in admin CP; session/CSRF token theft; potential full admin takeover via DOM-driven actions.
Remediation
• Sanitize/HTML-encode all user-controlled strings before passing to `dangerouslySetInnerHTML`, or avoid it for labels/titles/icons.
• Server-side: strip/escape disallowed tags on save for fields, integration metadata, WYSIWYG content.
• Add regression tests with `` payloads to ensure no execution in builder/integration views.
Workarounds
• Restrict form-edit permissions to trusted admins only until patched.
• Consider CSP that disallows inline scripts (defense-in-depth only).
Credits
• Discovered by https://www.linkedin.com/in/praveenkavinda/ | Prav33N-Sec.
Related
Alias · CVE (1)
- CVE-2026-26188 Solspace Freeform plugin for Craft CMS 5.x is a super flexible form-building tool. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/solspace/craft-freeform/security/advisories/GHSA-jp3q-wwp3-pwv9 web
- https://nvd.nist.gov/vuln/detail/CVE-2026-26188 advisory
- https://github.com/solspace/craft-freeform/commit/b9adad6cdf1eba5400aae8b1ae39bd7d4d33af5e web
- https://github.com/solspace/craft-freeform package
- https://github.com/solspace/craft-freeform/releases/tag/v5.14.7 web