# CVE-2021-24939: LoginWP < 3.0.0.5 - Reflected Cross-Site Scripting

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.83%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-12-06T15:55:38.000Z
- Modified: 2026-06-17T03:41:09.950Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## 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

(As written by CVE List.)

## Affected

- Unknown LoginWP (Formerly Peter's Login Redirect): from 3.0.0.5 before 3.0.0.5
- profilepress loginwp: before 3.0.0.5

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/1a46cfec-24ad-4619-8579-f09bbd8ee748> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24939](https://www.cve.org/CVERecord?id=CVE-2021-24939), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24939](https://nvd.nist.gov/vuln/detail/CVE-2021-24939), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24939 · Whole record: https://cve.day/CVE-2021-24939.json · Rebuilt by cve.day 2026-11-25T22:58:05.827Z
