CVE-2025-62780 changedetection.io vulnerable to stored XSS in Watch update via API
Attackers can inject malicious JavaScript via the Watch update API, leading to stored XSS execution when users preview the watch.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-62780?
CVE-2025-62780 is a low-severity cross-site scripting vulnerability in dgtlmoon changedetection.io, published on 10 Nov 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
changedetection.io is a free open source web page change detection tool. A Stored Cross Site Scripting is present in changedetection.io Watch update API in versions prior to 0.50.34 due to insufficient security checks. Two scenarios are possible. In the first, an attacker can insert a new watch with an arbitrary URL which really points to a web page. Once the HTML content is retrieved, the attacker updates the URL with a JavaScript payload. In the second, an attacker substitutes the URL in an existing watch with a new URL that is in reality a JavaScript payload. When the user clicks on *Preview* and then on the malicious link, the JavaScript malicious code is executed. Version 0.50.34 fixes the issue.
Weakness: CWE-79
Which versions are affected by CVE-2025-62780?
3 open source packages ship an affected version, including changedetection.io and changedetection-io. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
changedetection.io PyPI | All versions | 0.50.34 |
changedetection-io PyPI | All versions | 0.50.34 |
changedetection-io PyPI | All versions | 0.50.34 |
Products include Changedetection Changedetection.
How do I fix CVE-2025-62780?
Upgrade changedetection.io to 0.50.34 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-62780 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62780 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-4c3j-3h7v-22q9, PYSEC-2025-91.