CVE-2024-4277
WordPress vulnerability analysis and mitigation

Overview

The LearnPress WordPress LMS Plugin (versions up to and including 4.2.6.5) contains a Stored Cross-Site Scripting vulnerability identified as CVE-2024-4277. The vulnerability exists in the 'layout_html' parameter due to insufficient input sanitization and output escaping. This security issue was discovered and disclosed on May 14, 2024, with a CVSS v3.1 base score of 5.4 (Medium) according to NVD and 6.4 (Medium) according to Wordfence (NVD, Wordfence Advisory).

Technical details

The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation). The issue stems from inadequate sanitization and escaping of the 'layout_html' parameter in the plugin. This allows authenticated users with contributor-level access or higher to inject arbitrary web scripts into pages. The injected scripts will execute whenever a user accesses the affected page (NVD).

Impact

When exploited, this vulnerability allows authenticated attackers with contributor-level privileges or higher to inject malicious web scripts into pages. These scripts will execute in the context of other users' browsers when they visit the compromised pages, potentially leading to session hijacking, credential theft, or other client-side attacks (NVD).

Exploitability

The vulnerability requires an authenticated user with at least contributor-level access to exploit. The attack complexity is considered low, requiring user interaction for the payload to execute. The vulnerability has received a CVSS v3.1 base score of 5.4 (Medium) from NVD and 6.4 (Medium) from Wordfence, indicating moderate exploitability (NVD).

Mitigation and workarounds

Users should update their LearnPress WordPress LMS Plugin to a version newer than 4.2.6.5 when available. Until an update is applied, site administrators should carefully monitor and restrict access to contributor-level permissions (NVD).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-19089NONEN/A
  • product-input-fields-for-woocommerce
NoYesAug 10, 2026
CVE-2026-19077NONEN/A
  • copy-delete-posts
NoYesAug 10, 2026
CVE-2026-19075NONEN/A
  • all-in-one-video-gallery
NoYesAug 10, 2026
CVE-2026-19074NONEN/A
  • advanced-classifieds-and-directory-pro
NoYesAug 10, 2026
CVE-2026-19053NONEN/A
  • prosolution-wp-client
NoYesAug 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management