Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconSubmit crafted javascript: hostname to unauthenticated /collect
-
DeliveryNewline-prefixed pathname bypasses prefix validation
-
ExploitPayload persisted in Top Pages database
-
InstallOperator opens Top Pages dashboard
-
C2Operator clicks poisoned analytics entry
-
Executejavascript: URI executes in authenticated operator session
-
ImpactSession token exfiltrated, full account takeover achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The /collect endpoint must be network-reachable, which is the default for any internet-facing Fathom Lite deployment - no firewall bypass or special network position is required. No authentication or existing account is needed to submit the poisoned payload. Execution of the XSS payload requires the authenticated operator to actively click the poisoned entry in the Top Pages dashboard; passive viewing of the dashboard without clicking links does not trigger the payload. The vulnerability is specific to Fathom Lite versions 1.3.1 and earlier, where parseHostname and parsePathname lack URI scheme validation. Exploitation is not limited to any particular operator browser or operating system. The primary limiting factor is the required operator click, which depends on the operator interacting with dashboard entries rather than merely loading the page. |
| Impact | The CVSS 4.0 score of 5.1 (Medium) is mechanically accurate: subsequent-system impact is rated Low for both confidentiality and integrity (SC:L/SI:L), and active operator interaction is required (UI:A). However, this score understates operational risk for typical Fathom Lite deployments. The injection phase is fully unauthenticated and requires no special network position - any internet-facing instance is exposed. The 'operator clicks' trigger is realistic because Top Pages is a primary dashboard feature that operators consult routinely, and high-traffic sites may accumulate dozens of poisoned entries submitted by automated scanners. A publicly available PoC at GitHub reduces attacker skill requirements to near zero. No EPSS data was provided, but the combination of easy unauthenticated injection, stored persistence, and available exploit code represents genuine priority risk for self-hosted operators. The absence of a CISA KEV listing means active mass exploitation is not confirmed, but the barrier to targeted exploitation is effectively zero. No conflicting signals between the CVSS vector and the description were identified: the network-accessible /collect endpoint and the operator-browser execution context are consistent with AV:N and UI:A respectively. |
| Exploit ScenarioDerived | A publicly available PoC demonstrates that an unauthenticated attacker sends a crafted request to the /collect endpoint with the hostname set to 'javascript:' and the pathname prefixed with a newline character followed by the XSS payload; the analytics backend stores this as a legitimate Top Pages entry. The next time the Fathom Lite operator opens their dashboard and clicks on the poisoned link in the Top Pages list, the javascript: URI executes in the operator's authenticated browser context, allowing the attacker to exfiltrate the session token to an attacker-controlled server and fully take over the analytics account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Stored cross-site scripting in Fathom Lite through 1.3.1 permits unauthenticated attackers to poison the operator's Top Pages dashboard by submitting a crafted javascript: URI to the public /collect analytics endpoint, ultimately enabling session hijacking and full account takeover. The parseHostname and parsePathname functions perform no URI scheme validation, so a javascript: hostname combined with a newline-prefixed pathname is stored verbatim and later rendered as an unsanitized anchor href in the authenticated dashboard. A publicly available exploit demonstrates the full attack chain; while no CISA KEV listing is present, the zero-authentication injection barrier and realistic operator-click trigger make real-world impact materially higher than the CVSS 4.0 score of 5.1 suggests.
RemediationAI
No vendor-released patch version is independently confirmed from the available references; operators should monitor the Fathom Lite upstream repository and apply any fix immediately upon release, referencing the VulnCheck advisory at https://www.vulncheck.com/advisories/fathom-lite-stored-xss-via-collect-endpoint for patch guidance. As a compensating control, deploy a WAF or reverse-proxy rule that rejects requests to the /collect endpoint where the hostname parameter contains a javascript: scheme prefix or embedded newline characters (note: overly broad rules may produce false positives for unusual but legitimate hostnames, so test against production traffic before enforcing in blocking mode). Alternatively, restrict network-level access to /collect to known trusted IP ranges, accepting the trade-off that analytics collection from general internet visitors will be disabled. Operators should also audit the existing Top Pages database table for stored entries containing javascript: in the hostname column and purge any poisoned records directly. Adding a Content Security Policy header with script-src directives that exclude unsafe-inline on the dashboard route would limit javascript: URI execution as a defense-in-depth measure, but this requires application-level changes.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Fathom Lite is a self-hosted, privacy-focused web analytics platform (CPE: cpe:2.3:a:usefathom:fathom:*:*:*:*:*:*:*:*) that exposes an unauthenticated /collect endpoint for recording page-view telemetry from visitor browsers. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Stored XSS): the parseHostname and parsePathname functions accept arbitrary hostname and pathname values without validating the URI scheme or stripping dangerous protocol prefixes such as javascript:. A newline character injected at the start of the pathname value is used to defeat any naive prefix-based check on the combined string, allowing the full javascript: URI to survive storage. When the operator subsequently loads the Top Pages view, the stored value is rendered as an anchor href without HTML encoding or Content Security Policy blocking, causing the payload to execute in the operator's authenticated browser session on click.
Know when Fathom gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Injection is unauthenticated via network (AV:N, PR:N, AC:L); operator must click poisoned link (UI:R); scope changes because unauth write into the store affects the authenticated operator session (S:C); no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Fathom Lite through 1.3.1 contains a stored cross-site scripting vulnerability in the analytics collection endpoint that allows unauthenticated attackers to inject a javascript: URI into the Top Pages dashboard by supplying a crafted hostname and pathname to the unauthenticated /collect endpoint. The parseHostname and parsePathname functions perform no URI scheme validation, allowing a javascript: hostname combined with a newline-prefixed pathname to be stored and later rendered as an anchor href in the authenticated dashboard without sanitization, enabling session hijacking and full account takeover when an operator clicks the poisoned entry.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-48311
GHSA-4fpj-4rcv-h3hf
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB