LiveActive security incident?Get immediate response
CVE Record

CVE-2021-39348: LearnPress – WordPress LMS Plugin <= 4.1.3.1 Authenticated Stored Cross-Site Scripting

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.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-39348 is a stored cross-site scripting issue in the LearnPress WordPress LMS plugin. An administrator-level user could save script content through a custom profile parameter when WordPress HTML filtering is disabled. The main concern is abuse inside managed or multisite environments where administrators are not meant to run arbitrary scripts.

Executive priority

Treat this as a moderate-priority hygiene issue. It is not shown as actively exploited and requires admin access, but it undermines delegated trust models and should be remediated during normal WordPress plugin patch cycles.

Technical view

LearnPress versions up to and including 4.1.3.1 insufficiently escaped the $custom_profile parameter in inc/admin/views/backend-user-profile.php. The CVSS 3.1 score is 5.5 with high privileges required, no user interaction, changed scope, and low confidentiality and integrity impact. The weakness is mapped to CWE-80.

Likely exposure

Exposure is limited to WordPress sites running LearnPress 4.1.3.1 or earlier, especially multisite installations where unfiltered_html is disabled for administrators, or sites where unfiltered_html is disabled generally.

Exploitation context

The source bundle does not show CISA KEV listing or other evidence of active exploitation. The issue requires authenticated administrative access, reducing broad internet-scale risk, but it can matter in delegated-admin, agency, education, or multisite environments.

Researcher notes

This is separate from CVE-2021-24702. The key technical condition is insufficient output escaping of $custom_profile in the backend user profile view. Evidence in the bundle does not identify a fixed version number, so confirm remediation from vendor or advisory sources.

Mitigation direction

  • Upgrade LearnPress beyond affected versions after confirming vendor guidance and release notes.
  • Review WordPress multisite deployments where administrator HTML filtering is intentionally restricted.
  • Limit administrator access to trusted users and remove stale privileged accounts.
  • Check vendor and Wordfence advisories for confirmed remediation details.
  • Monitor admin profile changes for unexpected script content.

Validation and detection

  • Inventory WordPress sites for LearnPress versions 4.1.3.1 and earlier.
  • Confirm whether affected sites use multisite or disabled unfiltered_html behavior.
  • Review LearnPress profile customization paths for stored script content.
  • Verify patched LearnPress files align with the referenced WordPress Trac changeset.
  • Document administrator accounts with permission to modify LearnPress profile settings.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-80: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-39348 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
4Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N2.32.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2021-39348Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LearnPressLearnPress4.1.3.1Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-80 · source CWE mapping

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.