solspace/craft-freeform
Affected
- introduced
5.0.0, fixed5.14.7(ecosystem)
Fixed versions
5.14.7
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: CVE-2026-26188
Freeform Craft Plugin CP UI (builder/integrations) has Stored Cross-Site Scripting (XSS) issue
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
Details
dangerouslySetInnerHTML without sanitization.dangerouslySetInnerHTML on user-controlled properties in bundled CP JS at [packages/plugin/src/Resources/js/client/client.js](packages/plugin/src/Resources/js/client/client.js#L1).PoCs
<img src=x onerror="alert('xss-label')">.<svg><script>alert('xss-icon')</script></svg>.Impact
Arbitrary JS in admin CP; session/CSRF token theft; potential full admin takeover via DOM-driven actions.
Remediation
dangerouslySetInnerHTML, or avoid it for labels/titles/icons.<img onerror> payloads to ensure no execution in builder/integration views.Workarounds
Credits
Low Basis: The source's own band: LOW
5.0.0, fixed 5.14.7 (ecosystem)5.14.7
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0