CVE-2021-24939: LoginWP - Reflected XSS
- Cve: CVE-2021-24939
- Name: LoginWP - Reflected XSS
- Description: The LoginWP (Formerly Peter's Login Redirect) WordPress plugin before 3.0.0.5 does not sanitise and escape the rul_login_url and rul_logout_url parameter before outputting them back in attributes in an admin page, leading to a Reflected Cross-Site Scripting issue
- Impact: Attackers can execute arbitrary scripts in admin context, potentially leading to session hijacking or privilege escalation.
- Remediation: Update to version 3.0.0.5 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs victim to visit a malicious URL
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00827
- Epss percentile: 0.5839
- Assignee: [email protected]
- Published at: 2021-12-06T16:15:08Z
- Age in days: 1814
- Modified at: 2026-06-17T03:41:09Z
- Patch available: yes
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24939
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://wpscan.com/vulnerability/1a46cfec-24ad-4619-8579-f09bbd8ee748 | nvd | 2021-12-06 |
References
| Url | Source | Tags |
|---|---|---|
| https://wpscan.com/vulnerability/1a46cfec-24ad-4619-8579-f09bbd8ee748 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| profilepress:loginwp | < 3.0.0.5 | no | nvd | /v1/products/profilepress/loginwp |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-12-06
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts