changedetection-io
Affected
- introduced
0, fixed0.45.22(ecosystem)
Fixed versions
0.45.22
Fix
- Fixed version
0.45.22pip install --upgrade changedetection-io==0.45.22
Advisory
Also known as: CVE-2024-34061, GHSA-pwgc-w4x9-gw67
changedetection.io Cross-site Scripting vulnerability
Summary
Input in parameter notification_urls is not processed resulting in javascript execution in the application
Details
changedetection.io version: v0.45.21
https://github.com/dgtlmoon/changedetection.io/blob/0.45.21/changedetectionio/forms.py#L226
for server_url in field.data:
if not apobj.add(server_url):
message = field.gettext('\'%s\' is not a valid AppRise URL.' % (server_url))
raise ValidationError(message)
PoC
Setting > ADD Notification URL List
"><img src=x onerror=alert(document.domain)>
Requests
Impact
A reflected XSS vulnerability happens when the user input from a URL or POST data is reflected on the page without being stored, thus allowing the attacker to inject malicious content
Medium Basis: CVSS v3 score 4.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
0, fixed 0.45.22 (ecosystem)0.45.22
0.45.22pip install --upgrade changedetection-io==0.45.22Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0