changedetection.io project has an XXE vulnerability
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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | changedetection-io | <= 0.54.9 | sin corrección |
Referencias
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Debilidad (CWE)
CWE-611- Plataforma
- Python (PyPI)
- Paquete
changedetection-io- Publicada
- 04.05.2026
- Actualizado
- 11.10.2026 12:19
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-29 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-v7cp-2cx9-x793 - CC BY 4.0
Historial de vulnerabilidades: changedetection-io
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 20
- Primera → última
- 02.2023 05.2026
- Sin corrección
- 1
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 2
- Alta 9
- Media 6
- Baja 2
- Sin evaluar 1
Divulgaciones por año
- 2023: 1
- 2024: 6
- 2025: 2
- 2026: 11
-
changedetection.io project has an XXE vulnerability esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.