{
 "id": "WPSEC-2026-4268",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4268/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4268/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4268/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4268.json",
 "title": "SupportCandy <= 3.5.6 - Unauthenticated Stored Cross-Site Scripting via Image File Attachment",
 "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.",
 "plugin": {
  "slug": "supportcandy",
  "name": "SupportCandy",
  "full_name": "SupportCandy – Helpdesk, Support Ticket System & AI Chatbot",
  "wordpress_org": "https://wordpress.org/plugins/supportcandy/",
  "advisories_url": "https://wpsec.com/vuln/plugin/supportcandy/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/supportcandy"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.7,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.5.7",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.5.7"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.5.7",
 "remediation": "Update to 3.5.7 or later.",
 "fix_released": "2026-11-30T05:17:54+00:00",
 "published": "2026-12-01T05:46:31+00:00",
 "updated": "2026-11-30T07:54:06.247497+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4268/",
  "https://plugins.svn.wordpress.org/supportcandy/tags/3.5.7/",
  "https://wordpress.org/plugins/supportcandy/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/supportcandy",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-12-01"
 }
}