GHSA-95VJ-CWQX-RPMC
Vulnerability from github – Published: 2026-04-22 09:31 – Updated: 2026-04-22 09:31The 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 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": [],
"aliases": [
"CVE-2026-4142"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-04-22T09:16:25Z",
"severity": "MODERATE"
},
"details": "The Sentence To SEO (keywords, description and tags) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the \u0027Permanent keywords\u0027 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 (\u003c?= ?\u003e). An attacker can break out of the textarea element using a closing \u003c/textarea\u003e 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\u0027s settings page.",
"id": "GHSA-95vj-cwqx-rpmc",
"modified": "2026-04-22T09:31:33Z",
"published": "2026-04-22T09:31:33Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-4142"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L262"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L50"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L75"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L81"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L87"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L262"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L50"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L75"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L81"
},
{
"type": "WEB",
"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L87"
},
{
"type": "WEB",
"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/7d11b2db-d097-433f-923c-f49ef2951c0e?source=cve"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
]
}
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.