NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-34061: changedetection.io Cross-site Scripting vulnerability

mediumCVSS 3.1 4.3GHSA-pwgc-w4x9-gw67

Summary Input in parameter notificationurls 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 PoC Setting ADD Notification URL List Requests Impact A reflected XSS vulnerability happens when the user input from a URL or POST data is reflected on the page without…

Published May 3, 2024

Affected packages

changedetection.io

Ecosystem
PyPI
Affected
< 0.45.22
Fixed in
0.45.22
Check
pip show changedetection.io

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

image

">

image

Requests

image

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

Credited to Nguyen-Trung-Kien.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries