CVE-2021-24880
WordPress vulnerability analysis and mitigation

Overview

The SupportCandy WordPress plugin before version 2.2.7 contains a Cross-Site Scripting (XSS) vulnerability identified as CVE-2021-24880. The vulnerability was discovered by researcher apple502j and was publicly disclosed on January 5, 2022. This security issue affects the plugin's shortcode functionality, specifically impacting WordPress installations running SupportCandy versions prior to 2.2.7 (WPScan).

Technical details

The vulnerability stems from improper validation and escaping of the page attribute in the plugin's shortcode implementation. The issue has been assigned a CVSS score of 6.8 (medium severity) and is classified under CWE-79. A proof of concept exploit has been documented using the following shortcode: [supportcandy page="init';alert(/XSS/)//"] (WPScan).

Impact

The vulnerability allows users with privileges as low as Contributor level to perform Cross-Site Scripting attacks against the website. This creates a significant security risk as it enables malicious actors with minimal access rights to inject and execute arbitrary JavaScript code in users' browsers (WPScan).

Exploitability

The vulnerability can be exploited by users with Contributor-level access or higher by manipulating the page attribute of the SupportCandy shortcode. A working proof of concept has been verified and documented (WPScan).

Mitigation and workarounds

The vulnerability has been patched in SupportCandy version 2.2.7. Website administrators running affected versions should update to version 2.2.7 or later to mitigate this 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-2024-13784CRITICAL9.8
  • arforms-form-builder
NoYesAug 16, 2026
CVE-2026-17087HIGH7.5
  • wp-travel-engine
NoYesAug 16, 2026
CVE-2026-2497HIGH7.2
  • gallery-plugin
NoYesAug 16, 2026
CVE-2026-17608MEDIUM6.5
  • wp-compress-image-optimizer
NoYesAug 16, 2026
CVE-2026-2357MEDIUM6.4
  • bold-page-builder
NoYesAug 16, 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