CVE-2026-31914
Received Received - Intake
DOM-Based XSS in WP Courses LMS Plugin

Publication date: 2026-03-25

Last updated on: 2026-03-25

Assigner: Patchstack

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 Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-25
Last Modified
2026-03-25
Generated
2026-05-07
AI Q&A
2026-03-25
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
hookandhook wp_courses_lms to 3.2.26 (inc)
hookandhook wp_courses_lms From 3.0.0 (inc) to 3.2.26 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2026-31914 is a medium severity Cross Site Scripting (XSS) vulnerability affecting the WordPress WP Courses LMS Plugin versions up to and including 3.2.26.

This vulnerability allows attackers to inject malicious scriptsβ€”such as redirects, advertisements, or other HTML payloadsβ€”that execute when site visitors access the compromised pages.

Exploitation requires a privileged user (at least a subscriber role) to perform an action like clicking a malicious link, visiting a crafted page, or submitting a form, which then triggers the XSS attack.

The issue is classified under OWASP Top 10 category A3: Injection and is considered moderately dangerous.


How can this vulnerability impact me? :

This vulnerability can lead to attackers executing malicious scripts on your website, which may result in unauthorized redirects, display of unwanted advertisements, or other harmful HTML payloads.

Such attacks can compromise the integrity and trustworthiness of your site, potentially harming your users and damaging your reputation.

Because exploitation requires a privileged user action, attackers might use social engineering or other methods to trick users into triggering the attack.

The vulnerability is likely to be targeted in mass-exploit campaigns affecting many websites regardless of their traffic or popularity.

Users are strongly advised to update to version 3.2.27 or later of the WP Courses LMS Plugin to mitigate this risk.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability is a DOM-Based Cross-Site Scripting (XSS) issue in the WP Courses LMS Plugin up to version 3.2.26. Detection typically involves monitoring for suspicious script injections or unusual behavior triggered by user interactions such as clicking links or submitting forms.

While no specific commands are provided in the resources, common detection methods include using web application scanners that detect XSS vulnerabilities, inspecting HTTP requests and responses for injected scripts, and monitoring logs for unusual activity related to the plugin.

Network detection might involve using intrusion detection systems (IDS) or web application firewalls (WAF) with rules targeting known XSS payloads or the specific Patchstack mitigation rule for this vulnerability.


What immediate steps should I take to mitigate this vulnerability?

The primary immediate step to mitigate this vulnerability is to update the WP Courses LMS Plugin to version 3.2.27 or later, where the issue is patched.

Until the update can be applied, users are advised to implement the automatic mitigation rule provided by Patchstack, which blocks attacks exploiting this vulnerability.

Additionally, enabling auto-update features for vulnerable plugins can help ensure rapid protection against this and similar vulnerabilities.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

The CVE-2026-31914 vulnerability is a Cross Site Scripting (XSS) issue that allows attackers to inject malicious scripts which execute when site visitors access compromised pages.

Such vulnerabilities can lead to unauthorized access or manipulation of user data, potentially resulting in data breaches or exposure of sensitive information.

This can negatively impact compliance with common standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive data from unauthorized access and attacks.

Failure to address this vulnerability could result in violations of these regulations due to compromised data integrity, confidentiality, and user trust.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart