CVE-2021-39357: Leaky Paywall - Stored XSS
- Cve: CVE-2021-39357
- Name: Leaky Paywall - Stored XSS
- Description: 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.
- Impact: Attackers can execute arbitrary scripts in the context of the affected site, potentially leading to session hijacking, defacement, or data theft.
- Remediation: Update to the latest version of Leaky Paywall plugin.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: admin_privileges
- Requirements: Attacker needs administrative user access
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00915
- Epss percentile: 0.60887
- Assignee: [email protected]
- Published at: 2021-10-21T20:15:08Z
- Age in days: 1860
- Modified at: 2026-06-17T04:03:37Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-39357
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/BigTiger2020/word-press/blob/main/Leaky%20Paywall.md | nvd | 2021-10-21 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://plugins.trac.wordpress.org/changeset/2615195/leaky-paywall/trunk/class.php | Patch, Third Party Advisory |
| https://github.com/BigTiger2020/word-press/blob/main/Leaky%20Paywall.md | Exploit, Third Party Advisory |
| https://wordfence.com/vulnerability-advisories/#CVE-2021-39357 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| zeen101:leaky_paywall | <= 4.16.5 | no | nvd | /v1/products/zeen101/leaky_paywall |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-10-21
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts