# JS Help Desk – AI-Powered Support & Ticketing System <= 5.0.6 - Unauthenticated Stored Cross-Site Scripting via Ticket Message

- **ID:** WPSEC-2026-3243
- **Plugin:** JS Help Desk – AI-Powered Support & Ticketing System (`js-support-ticket`), https://wordpress.org/plugins/js-support-ticket/
- **Affected versions:** from 5.0.6 before 5.0.7
- **Fixed in:** 5.0.7 (Update to 5.0.7 or later.)
- **Severity:** High 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin Low, affected versions None seen (as of 2026-11-17)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/js-support-ticket
- **Fix released:** 2026-11-16
- **Published:** 2026-11-17
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3243/

## Description

The JS Help Desk – AI-Powered Support & Ticketing System plugin for WordPress is vulnerable to Stored Cross-Site Scripting via ticket messages, replies and notes in version 5.0.6, due to the removeViewerAttributes() function using a regular expression after kses filtering to strip the image-viewer attributes data-vbtype and data-href. The expression can match text inside another attribute's value and remove a closing quote, which turns the rest of that value into live attributes. This makes it possible for unauthenticated attackers (guest ticket submission is enabled by default) to inject arbitrary web scripts that execute when an agent or administrator views the ticket.

## References

- https://wpsec.com/vuln/WPSEC-2026-3243/
- https://plugins.svn.wordpress.org/js-support-ticket/tags/5.0.7/
- https://wordpress.org/plugins/js-support-ticket/

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

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.
