4.8medium
WP Postratings < 1.86.1 - Admin+ Stored Cross-Site Scripting
- Severity
- 4.8medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown WP-PostRatings | before 1.86.1 | CVE List |
| lesterchan wp-postratings | before 1.86.1 | NVD |
All scores
| CISA-ADP | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
El complemento de WordPress WP-PostRatings anterior a 1.86.1 no sanitiza el parámetro postratings_image de su página de opciones (wp-admin/admin.php?page=wp-postratings/postratings-options.php). Aunque solo los administradores pueden acceder a la página y está protegida contra ataques CSRF, el problema aún se puede explotar cuando la capacidad unfiltered_html está deshabilitada.
References
| https://wpscan.com/vulnerability/d2d9a789-edae-4ae1-92af-e6132db7efcd/ | exploit, technical-description, third-party-advisory, vdb-entry | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-25117 changed 2025-06-17 | CVE Terms of Use |
| NVD | CVE-2021-25117 changed 2026-06-17 | Public domain |