changedetection.io CVE-2026-41895
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker hosts malicious XML/RSS feed
-
DeliveryUser configures changedetection.io watch with XPath filter
-
Exploitxpath_filter() creates vulnerable lxml parser
-
InstallParser expands external entity declaration
-
C2Local file contents read into memory
-
ExecuteExfiltrated data embedded in watch output
-
ImpactSensitive 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – 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)
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
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
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
Lifecycle Timeline
2DescriptionCVE.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
- Untrusted XML/RSS response content is fetched from monitored URLs.
- Stream detection marks the content as XML/RSS and the include-filter path invokes
xpath_filter(..., is_xml=True). xpath_filter()builds the default XML parser and callsetree.fromstring(...)atchangedetectionio/html_tools.py:287.- External entity declarations in attacker XML can be expanded by parser-default behavior in affected runtime combinations.
Exploitation Preconditions
- Attacker controls the watched XML/RSS response body.
- The watch uses an XPath include filter that triggers XML helper parsing.
- Runtime parser behavior allows external entity expansion (for example, vulnerable dependency/default combinations).
- 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
- Harden XML parser construction with
resolve_entities=False,load_dtd=False, andno_network=True. - Reject
DOCTYPE/entity declarations for untrusted XML if DTD features are unnecessary. - Add regression tests that assert external entities are never expanded in XPath XML helper flows.
Executive ViewAI
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.
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
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
XML External Entity (XXE) attacks exploit XML parsers that process Document Type Definitions (DTDs) without proper restrictions.
GHSA-v7cp-2cx9-x793
NVD
CVE.org
EPSS
Exploit-DB