CVE-2021-39348: learnpress
Vulnerability summary
CVE-2021-39348 is a medium (CVSS 5.5) vulnerability in learnpress. EPSS estimates a 5.20% chance of exploitation in the next 30 days, higher than 92.4% of scored vulnerabilities. 1 public exploit is recorded. Fixed in 4.1.3.2.
Timeline
- 21-10-2021PublishedVulnerability first disclosed.
- 14-02-2025Last modifiedVulnerability information updated.
Description
The LearnPress WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient escaping on the $custom_profile parameter found in the ~/inc/admin/views/backend-user-profile.php file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 4.1.3.1. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled. Please note that this is seperate from CVE-2021-24702.
CVSS metrics
4 scores · 3 sources · 2 versions- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NDiffers
- wordfenceSource5.5MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
EPSS trend
Probability
5.20%
Chance of exploitation in the next 30 days
Percentile
92%
Versus all other CVEs
30-day change
0.00 pp
From 5.20% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundWord Press
Maturity: poc
Weaknesses
CWE · root cause- CWE-80Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.
- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')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.
Affected systems
Learnpress1 product
- learnpress4.1.3.1
Thimpress1 product
- learnpress≤ 4.1.3.1
Wordpress1 product
- learnpress≤ 4.1.3.1 (fixed in 4.1.3.2)
3 vendors · 3 products
References
4 links- github.com/BigTiger2020/word-press/blob/main/LearnPress.mdX Refsource MISCExploitThird Party Advisory