# SupportCandy <= 3.5.6 - Unauthenticated Stored Cross-Site Scripting via Image File Attachment

- **ID:** WPSEC-2026-4268
- **Plugin:** SupportCandy – Helpdesk, Support Ticket System & AI Chatbot (`supportcandy`), https://wordpress.org/plugins/supportcandy/
- **Affected versions:** all versions before 3.5.7
- **Fixed in:** 3.5.7 (Update to 3.5.7 or later.)
- **Severity:** Medium 4.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-12-01)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/supportcandy
- **Fix released:** 2026-11-30
- **Published:** 2026-12-01
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4268/

## Description

The SupportCandy plugin for WordPress is vulnerable to Stored Cross-Site Scripting via file attachments in all versions up to, and including, 3.5.6. This is due to the plugin not checking the real content of uploaded files with image extensions (for example a file with a BMP signature followed by an HTML document, which passes WordPress's image type check). Such files are then served inline from the site's origin with the Content-Type that mime_content_type() reports. This makes it possible for unauthenticated attackers (where guest attachments are allowed) to upload a file that runs arbitrary web scripts when an agent or administrator opens the attachment link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4268/
- https://plugins.svn.wordpress.org/supportcandy/tags/3.5.7/
- https://wordpress.org/plugins/supportcandy/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4268/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
