CVE-2026-41895: changedetection.io: XXE vulnerability in the changedetection.io project

Published May 4, 2026
·
Updated

changedetection.ioXXE01 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 - SOURCEVERSION: 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/htmltools.py:287

Root Cause xpathfilter() switches to XML mode for XML/RSS content and creates etree.XMLParser(stripcdata=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 xpathfilter(..., isxml=True). 3. xpathfilter() builds the default XML parser and calls etree.fromstring(...) at changedetectionio/htmltools.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 resolveentities=False, loaddtd=False, and nonetwork=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.

Other sources

changedetection.io is a free open source web page change detection tool. In 0.54.9 and earlier, xpathfilter() switches to XML mode for XML/RSS content and creates etree.XMLParser(stripcdata=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(...).

MITRE

Affected Software

2 affected components
pip/changedetection.io<=0.54.9
Webtechnologies Changedetection<=0.54.9

Event History

May 4, 2026
Advisory Published
via GitHub·08:56 PM
Data Sourced
via GitHub·08:56 PM
DescriptionWeaknessAffected Software
May 12, 2026
CVE Published
via MITRE·04:52 PM
Data Sourced
via MITRE·04:52 PM
DescriptionWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-41895?

CVE-2026-41895 is classified as a medium severity XML External Entity (XXE) vulnerability in the changedetection.io project.

2

How do I fix CVE-2026-41895?

To fix CVE-2026-41895, update the changedetection.io package to version 0.55.0 or later.

3

What is the impact of CVE-2026-41895?

CVE-2026-41895 can potentially allow an attacker to access sensitive files on the server and perform external entity attacks.

4

Which versions of changedetection.io are affected by CVE-2026-41895?

Versions of changedetection.io up to and including 0.54.9 are affected by CVE-2026-41895.

5

Is CVE-2026-41895 network exploitable?

Yes, CVE-2026-41895 can be exploited remotely through crafted XML input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203
CVE-2026-41895 - changedetection.io: XXE vulnerability in the changedetection.io project - SecAlerts