CVE-2026-3512
Received Received - Intake
Reflected XSS in Writeprint Stylometry Plugin via 'p' Parameter

Publication date: 2026-03-18

Last updated on: 2026-03-18

Assigner: Wordfence

Description
The Writeprint Stylometry plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'p' GET parameter in all versions up to and including 0.1. This is due to insufficient input sanitization and output escaping in the bjl_wprintstylo_comments_nav() function. The function directly outputs the $_GET['p'] parameter into an HTML href attribute without any escaping. This makes it possible for authenticated attackers with Contributor-level permissions or higher to inject arbitrary web scripts in pages that execute if they can successfully trick another user into performing an action such as clicking on a link.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-18
Last Modified
2026-03-18
Generated
2026-05-07
AI Q&A
2026-03-18
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
rodrigo_s_alhadeff writeprint_stylometry to 0.1 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :

This vulnerability can allow attackers with Contributor-level or higher permissions to inject malicious scripts into pages viewed by other users. If a victim clicks on a maliciously crafted link, the injected script can execute in their browser.

Potential impacts include theft of user session cookies, defacement of the website, redirection to malicious sites, or performing actions on behalf of the victim user.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


Can you explain this vulnerability to me?

The Writeprint Stylometry plugin for WordPress (version 0.1 and earlier) is vulnerable to Reflected Cross-Site Scripting (XSS) via the 'p' GET parameter. This vulnerability arises because the plugin's function bjl_wprintstylo_comments_nav() outputs the 'p' parameter directly into an HTML href attribute without proper escaping or sanitization.

As a result, an authenticated attacker with Contributor-level permissions or higher can inject arbitrary web scripts that execute when another user is tricked into clicking a crafted link.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': "This vulnerability involves the Writeprint Stylometry WordPress plugin version 0.1, which is vulnerable to Reflected Cross-Site Scripting (XSS) via the 'p' GET parameter due to insufficient input sanitization and output escaping."}, {'type': 'paragraph', 'content': 'To detect this vulnerability on your system, you can check if the Writeprint Stylometry plugin version 0.1 is installed and active on your WordPress site.'}, {'type': 'paragraph', 'content': "You can also test for the vulnerability by sending crafted HTTP GET requests to the affected plugin's pages, injecting script payloads into the 'p' parameter and observing if the payload is reflected unescaped in the HTML response."}, {'type': 'list_item', 'content': 'Use curl or wget to send a request with a test XSS payload, for example: curl -i "http://yourwordpresssite.com/wp-admin/admin.php?page=writeprint-stylometry&p=<script>alert(1)</script>"'}, {'type': 'list_item', 'content': "Inspect the response HTML for unescaped script tags or injected JavaScript in the href attribute related to the 'p' parameter."}, {'type': 'list_item', 'content': 'Scan your WordPress plugins directory for the presence of the Writeprint Stylometry plugin version 0.1.'}, {'type': 'list_item', 'content': 'Use vulnerability scanners or WordPress security plugins that can detect known vulnerable plugins and XSS issues.'}] [2, 3]


What immediate steps should I take to mitigate this vulnerability?

To mitigate this vulnerability immediately, you should:

  • Disable or uninstall the Writeprint Stylometry plugin version 0.1 from your WordPress installation if it is not essential.
  • If you must use the plugin, restrict Contributor-level or higher user permissions carefully to trusted users only, as the vulnerability requires authenticated users with such permissions.
  • Apply input sanitization and output escaping patches if available from the plugin author or security community.
  • Use Web Application Firewalls (WAF) to block malicious payloads targeting the 'p' GET parameter.
  • Monitor your WordPress logs and user activity for suspicious actions or exploitation attempts.
  • Keep your WordPress core, themes, and plugins updated to the latest versions to reduce exposure to known vulnerabilities.

Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart