# CVE-2021-25117: WP Postratings < 1.86.1 - Admin+ Stored Cross-Site Scripting

- Severity: Medium 4.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:H/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.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-01-16T15:49:22.142Z
- Modified: 2026-06-17T03:41:29.427Z
- Weaknesses: CWE-79, CWE-352
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: WPScan

## Description

The WP-PostRatings WordPress plugin before 1.86.1 does not sanitise the postratings_image parameter from its options page (wp-admin/admin.php?page=wp-postratings/postratings-options.php). Even though the page is only accessible to administrators, and protected against CSRF attacks, the issue is still exploitable when the unfiltered_html capability is disabled.

(As written by CVE List.)

## Affected

- Unknown WP-PostRatings: before 1.86.1
- lesterchan wp-postratings: before 1.86.1

## Every score

- CISA-ADP: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://wpscan.com/vulnerability/d2d9a789-edae-4ae1-92af-e6132db7efcd/> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

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

---

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