CVE-2022-0271
WordPress vulnerability analysis and mitigation

Overview

CVE-2022-0271 affects the LearnPress WordPress plugin versions before 4.1.6. The vulnerability was discovered and disclosed on January 18, 2022. The issue exists in the plugin's handling of the lp-dismiss-notice parameter in the lp_background_single_email AJAX action (WPScan, CVE Mitre).

Technical details

The vulnerability is a Reflected Cross-Site Scripting (XSS) issue that occurs due to improper sanitization and escaping of the lp-dismiss-notice parameter before it is output back via the lp_background_single_email AJAX action. The vulnerability has been assigned a CVSS score of 6.1 (medium) and is classified under CWE-79. A proof of concept exploit involves accessing the URL: https://example.com/wp-admin/admin-ajax.php?action=lp_background_single_email&lp-dismiss-notice=xxx<img src onerror=alert(XSS)> (WPScan).

Impact

The vulnerability allows attackers to execute arbitrary JavaScript code in the context of other users' browsers who access the specifically crafted URL. This could lead to theft of sensitive information, session hijacking, or other malicious actions performed in the context of the affected user's session (WPScan).

Exploitability

The vulnerability can be exploited through a specially crafted URL containing malicious JavaScript code in the lp-dismiss-notice parameter. The exploit requires no authentication and can be triggered through the WordPress admin-ajax.php endpoint (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in LearnPress version 4.1.6. Users are advised to update to this version or later to protect against this security issue (WPScan).

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-78570CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78568CRITICAL9.8
  • totaldonations
NoNoAug 25, 2026
CVE-2026-78572HIGH8.1
  • kalles-addons
NoNoAug 25, 2026
CVE-2026-78576HIGH7.5
  • readabler
NoYesAug 25, 2026
CVE-2026-76128MEDIUM6.4
  • ecommerce-product-catalog
NoYesAug 25, 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