CVE-2024-34061: changedetection.io Cross-site Scripting vulnerability
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.94663%
CWE
Published
5/3/2024
Updated
5/3/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
changedetection.io | pip | < 0.45.22 | 0.45.22 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the error message construction in ValidateAppRiseServers validator. The code at line 226 uses string formatting to include user-supplied 'server_url' in validation errors ('%s' substitution). As shown in the PoC, when malicious HTML/JS is entered in notification_urls, it gets reflected unsanitized in the response. The lack of output encoding when rendering error messages containing user input enables XSS. The function is clearly identified in the vulnerability details and matches the attack vector described.