Skip to main content

changedetection.io CVE-2026-41895

HIGH
Improper Restriction of XML External Entity Reference (CWE-611)
2026-05-04 https://github.com/dgtlmoon/changedetection.io GHSA-v7cp-2cx9-x793
8.2
CVSS 4.0 · Vendor: https://github.com/dgtlmoon/changedetection.io
View

Attack ChainAIDerived

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

  1. Recon
    Attacker hosts malicious XML/RSS feed
  2. Delivery
    User configures changedetection.io watch with XPath filter
  3. Exploit
    xpath_filter() creates vulnerable lxml parser
  4. Install
    Parser expands external entity declaration
  5. C2
    Local file contents read into memory
  6. Execute
    Exfiltrated data embedded in watch output
  7. Impact
    Sensitive content delivered via notification channels

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A02:2025 - Security Misconfiguration
ASVS 5.0
V13 - Configuration XML external entity prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Attacker must control the XML or RSS response body served from a URL monitored by the changedetection.io instance. The target watch configuration must use an XPath include filter that invokes the xpath_filter() function with is_xml=True, which occurs automatically when the content-type or structure is detected as XML or RSS. The underlying runtime environment must use an lxml or libxml2 version with permissive entity resolution defaults-specifically, lxml versions prior to 4.6.3 or custom-compiled libxml2 without entity restrictions. The changedetection.io process must have filesystem read permissions for the targeted file path. User interaction is not required beyond the initial configuration of the watch with XPath filtering. Default installations using recent Python dependency stacks may not be exploitable if lxml 4.6.3+ is present, but pinned or legacy deployments remain at risk. The vulnerability does NOT require authentication to the changedetection.io service itself-the attack vector is the monitored URL content, not the application interface.

Impact

CVSS 8.2 (High) with vector CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H indicates network-exploitable confidentiality breach requiring high attack complexity and present attack requirements. The AC:H and AT:P metrics are critical-exploitation depends on vulnerable lxml/libxml2 runtime combinations where entity resolution defaults remain permissive, which varies across deployments. Modern lxml versions (4.6.3+) disabled entity resolution by default, but older environments or custom builds may remain vulnerable. No EPSS score provided, no CISA KEV listing, and no public exploit identified at time of analysis, suggesting limited real-world exploitation observed to date. However, XXE is a well-understood attack class with abundant proof-of-concept code in the wild. The real-world risk concentrates in scenarios where: (1) changedetection.io instances monitor untrusted third-party XML/RSS feeds rather than curated sources, (2) users apply XPath filters triggering the vulnerable code path, and (3) the deployment runs on older Python/lxml stacks. The vulnerability becomes a priority for multi-tenant SaaS deployments or instances processing adversary-influenced feeds. Self-hosted single-user instances monitoring trusted feeds face lower practical risk despite high CVSS. Critical gap: vendor advisory confirms the issue but no fixed version is listed-users must await patch release or implement workarounds.

Exploit ScenarioDerived

An attacker publishes a malicious RSS feed containing an XML DOCTYPE declaration with an external entity referencing a local file, such as /etc/passwd or application configuration files containing API keys. A changedetection.io user adds this feed to their monitored URLs and configures an XPath filter to extract specific elements, triggering the xpath_filter() function in XML mode. The vulnerable lxml parser expands the external entity, reading the file contents into memory. The extracted content, now including the exfiltrated file data, is stored in the watch history and propagated through configured notification channels (email, Slack, webhooks), delivering sensitive information to the attacker. The attack succeeds silently without user interaction beyond the initial feed subscription.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv2 – May 12, 2026

XML External Entity (XXE) injection in changedetection.io version 0.54.9 and earlier allows local file disclosure when processing attacker-controlled XML or RSS feeds. The xpath_filter() function in html_tools.py creates an lxml parser without disabling external entity resolution, enabling attackers to embed DOCTYPE declarations that read sensitive files from the host system. Extracted content appears in watch output, diff history, and notification channels. No vendor-released patch identified at time of analysis. CVSS 8.2 reflects high confidentiality impact with attack complexity high due to specific runtime parser behavior requirements.

Earlier versions of this analysis (1)
v1 May 04, 2026 - 21:31

XML External Entity (XXE) injection in changedetection.io version 0.54.9 and earlier allows local file disclosure when processing attacker-controlled XML/RSS feeds. The vulnerability exists in the xpath_filter() function at html_tools.py:287, where untrusted XML is parsed without disabling external entity resolution. Attackers who control a monitored XML/RSS URL and configure an XPath include filter can inject malicious entity declarations to read sensitive local files, which are then exposed through watch output, diff history, and notification channels. No vendor-released patch identified at time of analysis, though the GitHub advisory provides specific hardening guidance.

RemediationAI

No vendor-released patch identified at time of analysis. Monitor the GitHub advisory at https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-v7cp-2cx9-x793 for official patch announcements. As interim compensating controls, consider these options with their trade-offs: (1) Upgrade the underlying lxml library to version 4.6.3 or later, which disables entity resolution by default-this mitigates the issue without code changes but may not be possible if other dependencies pin older lxml versions. (2) Apply a code patch to changedetectionio/html_tools.py line 287, replacing etree.XMLParser(strip_cdata=False) with etree.XMLParser(strip_cdata=False, resolve_entities=False, load_dtd=False, no_network=True)-this requires forking the codebase and maintaining custom builds. (3) Restrict changedetection.io instances to monitor only trusted, operator-controlled XML/RSS feeds and avoid XPath filter usage on third-party content-this limits functionality and requires process discipline. (4) Deploy changedetection.io in a sandboxed container or VM with minimal filesystem access, ensuring no sensitive files are readable by the application user-this reduces exfiltration impact but adds operational complexity. Each mitigation has deployment-specific constraints; prioritize official vendor patch when available.

Affected Packages

pypi changedetection-io fix: 0.54.10

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability exploits the lxml library's default XML parser configuration in Python. The xpath_filter() function at changedetectionio/html_tools.py:287 instantiates etree.XMLParser(strip_cdata=False) without hardening parameters, then passes untrusted XML content from monitored URLs to etree.fromstring(). By default, lxml may allow external entity expansion depending on the underlying libxml2 version and compilation flags. CWE-611 (Improper Restriction of XML External Entity Reference) occurs when parsers process DOCTYPE declarations containing SYSTEM or PUBLIC entity definitions that reference local file:// URIs or remote resources. The affected component processes XML and RSS feeds as part of changedetection.io's core website monitoring functionality, where users configure XPath filters to extract specific content elements. The package identifier pkg:pip/changedetection.io indicates this is a Python package distributed via PyPI.

Know when the next one hits your stack

  • 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 (https://github.com/dgtlmoon/changedetection.io) PRIMARY 8.2 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/dgtlmoon/changedetection.io) · only source for this CVE.

CVSS VectorVendor: https://github.com/dgtlmoon/changedetection.io

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

Lifecycle Timeline

2
Analysis Updated
May 12, 2026 - 18:31 vuln.today
v2 - CVSS changed
CVSS changed
May 12, 2026 - 18:22 NVD
8.2 (HIGH)

DescriptionCVE.org

changedetection.io_XXE_01 Vulnerability Report: We discovered a XXE vulnerability in the changedetection.io project

While analyzing the code logic, it was determined that an area may lead to unintended behavior under specific conditions. With the project's security in mind, see the analysis results to discern whether this may indicate a potential security risk.

Overview

  • SOURCE_VERSION: 0.54.9 (9f3a9fdc18bba404244801e5df8109e213ce9ff4)
  • Vulnerability type: XXE
  • Finding title: XML XPath helpers parse untrusted XML with entity resolution left to lxml defaults
  • Affected location: changedetectionio/html_tools.py:287

Root Cause

xpath_filter() switches to XML mode for XML/RSS content and creates etree.XMLParser(strip_cdata=False) without explicitly disabling external entity resolution, external DTD loading, or network-backed entity lookup. The helper then parses untrusted XML bytes directly with etree.fromstring(...).

Source-to-Sink Chain

  1. Untrusted XML/RSS response content is fetched from monitored URLs.
  2. Stream detection marks the content as XML/RSS and the include-filter path invokes xpath_filter(..., is_xml=True).
  3. xpath_filter() builds the default XML parser and calls etree.fromstring(...) at changedetectionio/html_tools.py:287.
  4. External entity declarations in attacker XML can be expanded by parser-default behavior in affected runtime combinations.

Exploitation Preconditions

  1. Attacker controls the watched XML/RSS response body.
  2. The watch uses an XPath include filter that triggers XML helper parsing.
  3. Runtime parser behavior allows external entity expansion (for example, vulnerable dependency/default combinations).
  4. The process can read the referenced local resource.

Risk

The XML helper path can turn watch processing into a local file disclosure primitive when entity expansion is enabled by parser defaults.

Impact

Sensitive local files can be exposed into extracted watch output, diff history, and downstream notification channels.

Remediation

  1. Harden XML parser construction with resolve_entities=False, load_dtd=False, and no_network=True.
  2. Reject DOCTYPE/entity declarations for untrusted XML if DTD features are unnecessary.
  3. Add regression tests that assert external entities are never expanded in XPath XML helper flows.

Executive ViewAI

Why It Matters

changedetection.io versions 0.54.9 and earlier contain an XML External Entity (XXE) injection vulnerability that allows attackers to extract sensitive files from the host system through malicious RSS feeds or XML content. Organizations using changedetection.io for feed monitoring face unauthorized disclosure of local files if feeds are sourced from untrusted or compromised origins, with extracted data potentially visible in notifications and history logs.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict feed sources to trusted, internal endpoints only; disable external feed monitoring temporarily. (2) Apply firewall or reverse proxy rules to block XML/RSS feeds containing DOCTYPE or ENTITY declarations before reaching changedetection.io. (3) Run changedetection.io in a sandboxed or containerized environment with file system access limited to essential directories only. (4) Monitor changedetection.io logs and notification outputs for suspicious file paths or system file content. (5) Disable XPath filtering features if not actively required for feed processing.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.

Affected Products (CPE)CVE.org

pkg:pip/changedetection.io

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