What’s Vulnerable › Vulnerabilities
CVE-2026-4142: Sentence To SEO (keywords, description and tags) <= 1.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'Permanent keywords' Field
- Severity: medium (CVSS 4.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-06-17
- Weakness: CWE-79
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.
Affected products
References
- https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L262
- https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L50
- https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L75
- https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L81
- https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L87
- https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L262
- https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L50
- https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L75
- https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L81
- https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L87
- https://www.wordfence.com/threat-intel/vulnerabilities/id/7d11b2db-d097-433f-923c-f49ef2951c0e?source=cve
Get alerted when CVE-2026-4142 or the next vulnerability affects your stack