CVE-2021-39348
WordPress vulnerability analysis and mitigation

Overview

The LearnPress WordPress plugin (versions up to 4.1.3.1) contained a Stored Cross-Site Scripting vulnerability (CVE-2021-39348) discovered in October 2021. The vulnerability was found in the $custom_profile parameter within the ~/inc/admin/views/backend-user-profile.php file due to insufficient escaping. This vulnerability specifically affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled (NVD, WPScan).

Technical details

The vulnerability is classified as a Stored Cross-Site Scripting (XSS) issue with a CVSS v3.1 base score of 5.5 (Medium) according to Wordfence's assessment (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N). The vulnerability is tracked under CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-80 (Improper Neutralization of Script-Related HTML Tags in a Web Page). The issue stems from insufficient sanitization of user-supplied data in the Profile Settings page (Wordfence, CheckPoint).

Impact

When exploited, this vulnerability allows attackers with administrative user access to inject arbitrary web scripts into the application. The impact is particularly significant in multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled (NVD).

Mitigation and workarounds

The vulnerability was patched in LearnPress version 4.1.3.2. Users are advised to update to this version or later to mitigate the risk (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-2025-14478HIGH7.5
  • demo-importer-plus
NoYesJan 17, 2026
CVE-2025-8615MEDIUM6.4
  • cubewp-framework
NoYesJan 17, 2026
CVE-2025-14078MEDIUM5.3
  • woocommerce-for-paygent-payment-main
NoYesJan 17, 2026
CVE-2025-12129MEDIUM5.3
  • cubewp-framework
NoYesJan 17, 2026
CVE-2026-0725MEDIUM4.4
  • integrate-dynamics-365-crm
NoYesJan 17, 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