# 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.
# 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.
Monitor this advisory for an available fix and review any installs of the affected package.
Local check
hol-guard supply-chain scanchangedetection.io project has an XXE vulnerability affects changedetection.io (pip). Severity is high. # 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.
AI coding agents often install or upgrade packages automatically in pip. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| changedetection.iopip | <=0.54.9 | Not reported |
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL GuardMonitor this advisory for an available fix and review any installs of the affected package.
Local check
hol-guard supply-chain scanchangedetection.io project has an XXE vulnerability affects changedetection.io (pip). Severity is high. # 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.
AI coding agents often install or upgrade packages automatically in pip. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package | Affected range | Fixed version |
|---|---|---|
| changedetection.iopip | <=0.54.9 | Not reported |
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard