CVE-2026-3512 Writeprint Stylometry <= 0.1 - Reflected Cross-Site Scripting via 'p' Parameter
Authenticated attackers can inject arbitrary scripts via the 'p' parameter, potentially executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-3512?
CVE-2026-3512 is a medium-severity cross-site scripting vulnerability in alhadeff Writeprint Stylometry, published on 18 Mar 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2026-3512?
How do I fix CVE-2026-3512?
No fix has been published for CVE-2026-3512 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-3512 being exploited?
There is no known exploitation of CVE-2026-3512 in the wild and no public exploit code.
Sources
Also known as GHSA-g2xp-c545-pvpg.