CVE-2021-24878
WordPress vulnerability analysis and mitigation

Overview

The SupportCandy WordPress plugin before version 2.2.7 contains a Reflected Cross-Site Scripting (XSS) vulnerability identified as CVE-2021-24878. The vulnerability was discovered by researcher apple502j and was publicly disclosed on January 5, 2022. This security issue affects websites using the SupportCandy plugin for WordPress, which is a helpdesk and customer support ticket system (WPScan).

Technical details

The vulnerability stems from improper sanitization and escaping of query string parameters in pages containing the [wpsc_create_ticket] shortcode embed. The issue has been assigned a CVSS score of 6.1 (medium severity) and is classified under CWE-79, which pertains to Cross-Site Scripting vulnerabilities. A proof of concept demonstrates that the vulnerability can be exploited by manipulating the query string parameters in the ticket-creation page URL (WPScan).

Impact

When exploited, this vulnerability allows attackers to inject malicious client-side scripts into pages containing the ticket creation shortcode. This could potentially lead to theft of sensitive information, session hijacking, or other malicious actions performed in the context of the user's browser (WPScan).

Exploitability

The vulnerability can be exploited by crafting a specific URL targeting the ticket-creation page with malicious JavaScript payload. A proof of concept demonstrates the exploit using the URL pattern: https://example.com/ticket-creation/?};alert(/XSS/)//=1 (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in version 2.2.7 of the SupportCandy plugin. Website administrators are advised to update to this version or later to mitigate the security risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-18039NONEN/A
  • essential-addons-for-elementor-lite
NoYesAug 14, 2026
CVE-2026-16810NONEN/A
  • bit-form
NoYesAug 14, 2026
CVE-2026-16739NONEN/A
  • epeken-all-kurir
NoNoAug 14, 2026
CVE-2026-15205NONEN/A
  • paymob-for-woocommerce
NoYesAug 14, 2026
CVE-2026-14290NONEN/A
  • embed-google-photos-album-easily
NoNoAug 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management