LiveActive security incident?Get immediate response
CVE Record

CVE-2021-39357: Leaky Paywall <= 4.16.5 Authenticated Stored Cross-Site Scripting

The Leaky Paywall WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient input validation and sanitization via the ~/class.php file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 4.16.5. This affects multi-site installations where unfiltered_html is disabled for administrators, and sites where unfiltered_html is disabled.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2021-39357 is a stored cross-site scripting issue in the Leaky Paywall WordPress plugin through version 4.16.5. An administrator-level user could save script content that later runs in a victim browser. Business urgency is moderate because the attacker needs high privileges, but impact can include account abuse or content manipulation.

Executive priority

Handle in the normal vulnerability remediation queue, with faster action for revenue-critical membership sites or sites with many administrator users. This is not evidenced as actively exploited in the supplied sources.

Technical view

The issue is CWE-79 caused by insufficient input validation and sanitization in Leaky Paywall's class.php. CVSS 3.1 is 5.5: network reachable, low complexity, high privileges required, scope changed, low confidentiality and integrity impact, and no availability impact.

Likely exposure

Exposure is limited to WordPress sites running Leaky Paywall version 4.16.5 or older, especially multisite environments where unfiltered_html is disabled for administrators, or sites with unfiltered_html disabled.

Exploitation context

The source bundle does not show CISA KEV listing or active exploitation. Exploitation requires administrative user access, so risk is highest where admin accounts are shared, compromised, or delegated to less-trusted operators.

Researcher notes

Do not broaden scope beyond Leaky Paywall. The vulnerability depends on stored XSS through plugin code and high-privilege access. The changeset reference indicates code-level remediation, but the supplied bundle does not name a specific fixed version.

Mitigation direction

  • Inventory WordPress sites using Leaky Paywall and identify versions at or below 4.16.5.
  • Check Leaky Paywall or WordPress plugin guidance for the fixed release and update accordingly.
  • Restrict administrator access to trusted users with MFA enabled.
  • Review recent plugin configuration changes by administrator accounts.
  • If updating is blocked, consider temporarily disabling the plugin based on business impact.

Validation and detection

  • Confirm the installed Leaky Paywall version on each WordPress site.
  • Verify whether WordPress multisite or unfiltered_html restrictions are in use.
  • Review administrator account activity around Leaky Paywall settings changes.
  • After updating, confirm the plugin no longer reports version 4.16.5 or older.
  • Check security monitoring for unexpected script execution or admin-session anomalies.
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-79: 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-39357 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-39357Attack 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
Leaky PaywallLeaky Paywall4.16.5Listed
Weakness

CWE details

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