CVE-2021-41836: Fathom Analytics - Stored XSS
- Cve: CVE-2021-41836
- Name: Fathom Analytics - Stored XSS
- Description: The Fathom Analytics WordPress plugin is vulnerable to Stored Cross-Site Scripting due to insufficient input validation and escaping via the $site_id parameter found in the ~/fathom-analytics.php file which allowed attackers with administrative user access to inject arbitrary web scripts, in versions up to and including 3.0.4. 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 or defacement.
- Remediation: Update to the latest version of the plugin where the vulnerability is fixed.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: admin_privileges
- Requirements: Attacker needs administrator access and unfiltered_html disabled
- 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.00583
- Epss percentile: 0.48803
- Assignee: [email protected]
- Published at: 2021-12-14T16:15:09Z
- Age in days: 1806
- Modified at: 2026-06-17T04:08:59Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-41836
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&old=2641005%40fathom-analytics&new=2641005%40fathom-analytics&sfp_email=&sfph_mail= | nvd | Patch, Third Party Advisory |
| https://www.wordfence.com/vulnerability-advisories/#CVE-2021-41836 | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| conva:fathom_analytics | <= 3.0.4 | no | nvd | /v1/products/conva/fathom_analytics |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts