CVE-2024-4277: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘layout_html’ parameter in all versions up to, and including, 4.2.6.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2024-4277 is a stored cross-site scripting vulnerability in the LearnPress – WordPress LMS Plugin for WordPress, affecting all versions up to and including 4.2.6.5. The vulnerability exists due to improper neutralization of input in the 'layout_html' parameter, allowing authenticated users with contributor-level privileges or higher to inject arbitrary web scripts. These scripts execute in the context of users who access the injected pages, potentially leading to session hijacking or other script-based attacks. The vulnerability has a CVSS 3.1 score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, and no user interaction required.
Potential Impact
An attacker with contributor-level access or higher can exploit this vulnerability to inject malicious scripts that execute in the browsers of users viewing the compromised pages. This can lead to information disclosure such as session tokens or other sensitive data accessible via script. The vulnerability does not impact availability but affects confidentiality and integrity to a limited extent. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or limiting use of the 'layout_html' parameter if possible. Monitor for updates from the plugin vendor and apply patches promptly once released.
CVE-2024-4277: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
Description
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘layout_html’ parameter in all versions up to, and including, 4.2.6.5 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-4277 is a stored cross-site scripting vulnerability in the LearnPress – WordPress LMS Plugin for WordPress, affecting all versions up to and including 4.2.6.5. The vulnerability exists due to improper neutralization of input in the 'layout_html' parameter, allowing authenticated users with contributor-level privileges or higher to inject arbitrary web scripts. These scripts execute in the context of users who access the injected pages, potentially leading to session hijacking or other script-based attacks. The vulnerability has a CVSS 3.1 score of 6.4, reflecting a medium severity with network attack vector, low attack complexity, and no user interaction required.
Potential Impact
An attacker with contributor-level access or higher can exploit this vulnerability to inject malicious scripts that execute in the browsers of users viewing the compromised pages. This can lead to information disclosure such as session tokens or other sensitive data accessible via script. The vulnerability does not impact availability but affects confidentiality and integrity to a limited extent. There are no reports of active exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict contributor-level access to trusted users only and consider disabling or limiting use of the 'layout_html' parameter if possible. Monitor for updates from the plugin vendor and apply patches promptly once released.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2024-04-26T21:06:15.124Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 699f6b86b7ef31ef0b5563ba
Added to database: 2/25/2026, 9:37:10 PM
Last enriched: 4/9/2026, 2:29:44 PM
Last updated: 4/12/2026, 3:50:07 PM
Views: 13
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.