Skip to main content

Fathom Lite CVE-2026-65697

| EUVDEUVD-2026-48311 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-23 VulnCheck GHSA-4fpj-4rcv-h3hf
5.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Submit crafted javascript: hostname to unauthenticated /collect
  2. Delivery
    Newline-prefixed pathname bypasses prefix validation
  3. Exploit
    Payload persisted in Top Pages database
  4. Install
    Operator opens Top Pages dashboard
  5. C2
    Operator clicks poisoned analytics entry
  6. Execute
    javascript: URI executes in authenticated operator session
  7. Impact
    Session 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.

Monitor Track and reassess. Why: Vendor states no customer action required.
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Fathom 0 ≤1.3.1

Affected Packages

euvd fathom no fix

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

Vendor (VulnCheck) PRIMARY 5.1 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Low
niche self-hosted privacy analytics, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
Vendor states no customer action required
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy