Sentence To SEO (keywords, description and tags) <= 1.0 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'Permanent keywords' Field
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- eazyserver Sentence To SEO (keywords, description and tags)
through 1.0
References 11
plugins.trac.wordpress.org
- browser/sentence-to-seo/trunk/index.php#L81
- browser/sentence-to-seo/tags/1.0/index.php#L81
- browser/sentence-to-seo/trunk/index.php#L50
- browser/sentence-to-seo/tags/1.0/index.php#L50
- browser/sentence-to-seo/trunk/index.php#L262
- browser/sentence-to-seo/tags/1.0/index.php#L262
- browser/sentence-to-seo/trunk/index.php#L87
- browser/sentence-to-seo/tags/1.0/index.php#L87
- browser/sentence-to-seo/trunk/index.php#L75
- browser/sentence-to-seo/tags/1.0/index.php#L75