CVE-2021-25117
WordPress vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-25117 affects the WP-PostRatings WordPress plugin versions before 1.86.1. This security flaw was discovered and publicly disclosed on December 24, 2020, by researcher Park Won Seok. The vulnerability is related to insufficient sanitization of the postratings_image parameter in the plugin's options page (WPScan).

Technical details

The vulnerability is a Stored Cross-Site Scripting (XSS) issue that exists in the plugin's options page (wp-admin/admin.php?page=wp-postratings/postratings-options.php). The security flaw stems from improper sanitization of the postratings_image parameter. The vulnerability has been assigned a CVSS v3.1 base score of 4.8 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N. It is classified as CWE-79 (Cross-Site Scripting) in the Common Weakness Enumeration system (NVD).

Impact

Although the vulnerable page is only accessible to administrators and protected against CSRF attacks, the vulnerability can still be exploited when the unfiltered_html capability is disabled. This could potentially allow for the execution of malicious JavaScript code in the context of the administrator's browser session (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 1.86.1 of the WP-PostRatings plugin. Website administrators are advised to update to this version or later to mitigate the security risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23550CRITICAL10
  • modular-connector
NoYesJan 14, 2026
CVE-2025-12166HIGH7.5
  • simply-schedule-appointments
NoYesJan 14, 2026
CVE-2026-0813MEDIUM4.4
  • short-link
NoNoJan 14, 2026
CVE-2026-0812MEDIUM4.4
  • linkedin-sc
NoNoJan 14, 2026
CVE-2026-0741MEDIUM4.4
  • electric-studio-download-counter
NoNoJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management