CVE-2026-4142 Cross-site scripting in Sentence To SEO (keywords, description and tags)
Authenticated administrators can inject arbitrary JavaScript into the plugin settings page via the Permanent keywords field, leading to stored XSS.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-4142?
CVE-2026-4142 is a medium-severity cross-site scripting vulnerability in eazyserver Sentence To SEO (keywords, description and tags), published on 22 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
The Sentence To SEO (keywords, description and tags) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Permanent keywords' field in all versions up to and including 1.0. This is due to insufficient input sanitization and output escaping. The plugin reads user input via filter_input_array(INPUT_POST) which applies no HTML sanitization (FILTER_DEFAULT), stores it unsanitized to the WordPress options table via update_option(), and then outputs the stored value directly into a textarea element without any escaping using PHP short echo tags (<?= ?>). An attacker can break out of the textarea element using a closing </textarea> tag and inject arbitrary HTML/JavaScript. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses the plugin's settings page.
Weakness: CWE-79
Which versions are affected by CVE-2026-4142?
How do I fix CVE-2026-4142?
No fix has been published for CVE-2026-4142 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-4142 being exploited?
There is no known exploitation of CVE-2026-4142 in the wild and no public exploit code.
Sources
Also known as GHSA-95vj-cwqx-rpmc.