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
이 버전이 영향받나요?
사용 중인 패키지 버전을 입력하면 즉시 평가합니다.
영향 패키지
0 수정 버전: 0.45.22 pip install --upgrade 'changedetection-io>=0.45.22' 참고
- https://github.com/dgtlmoon/changedetection.io/security/advisories/GHSA-pwgc-w4x9-gw67 [WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-34061 [ADVISORY]
- https://github.com/dgtlmoon/changedetection.io/commit/c0f000b1d1ce03733460805dbbedde445fe2c762 [WEB]
- https://github.com/dgtlmoon/changedetection.io [PACKAGE]
- https://github.com/dgtlmoon/changedetection.io/blob/0.45.21/changedetectionio/forms.py#L226 [WEB]