{"answers":{"affected":"3 open source packages ship an affected version, including changedetection.io and changedetection-io.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-34061 exists.","fix":"Upgrade changedetection.io to 0.45.22 or later.","what":"CVE-2024-34061 is a medium-severity cross-site scripting vulnerability in dgtlmoon changedetection.io, published on 2 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-34061 and fix it if it is affected.\n\nWhat it is: CVE-2024-34061 is a medium-severity cross-site scripting vulnerability in dgtlmoon changedetection.io, published on 2 May 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-34061 exists.\n\nAffected packages and fixed versions:\n- changedetection.io (PyPI): affected all versions; fixed in 0.45.22\n- changedetection-io (PyPI): affected all versions; fixed in 0.45.22\n- changedetection-io (PyPI): affected all versions; fixed in 0.45.22\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-34061/ (Markdown: https://insights.sbomify.com/CVE-2024-34061/index.md)","id":"CVE-2024-34061","markdown":"https://insights.sbomify.com/CVE-2024-34061/index.md","name":"CVE-2024-34061","record":{"aliases":["GHSA-pwgc-w4x9-gw67","PYSEC-2026-1243"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Web page change detection","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript in the context of other users via reflected XSS in the notification_urls parameter.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"changedetection.io is a free open source web page change detection, website watcher, restock monitor and notification service. In affected versions Input in parameter notification_urls is not processed resulting in javascript execution in the application. 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. This issue has been addressed in version 0.45.22. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-34061.yaml","stars":null,"title":"Changedetection.io \u003c=v0.45.21 - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":true,"headline":"Reflected cross site scripting in changedetection.io","id":"CVE-2024-34061","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"tqdm CLI arguments injection attack","id":"CVE-2024-34062"},"packages":[{"ecosystem":"PyPI","fixed":["0.45.22"],"introduced":["0"],"last_affected":[],"package":"changedetection-io","purl":"pkg:pypi/changedetection-io","source":"GHSA-pwgc-w4x9-gw67"},{"ecosystem":"PyPI","fixed":["0.45.22"],"introduced":["0"],"last_affected":[],"package":"changedetection-io","purl":"pkg:pypi/changedetection-io","source":"PYSEC-2026-1243"},{"ecosystem":"PyPI","fixed":["0.45.22"],"introduced":["0"],"last_affected":[],"package":"changedetection.io","purl":null,"source":"GHSA-pwgc-w4x9-gw67"}],"prev":{"headline":"Arbitrary File Write in IRIS EVTX Pipeline","id":"CVE-2024-34060"},"products":["changedetection.io"],"published":"2024-05-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["dgtlmoon"]},"summary":"Attackers can execute arbitrary JavaScript in the context of other users via reflected XSS in the notification_urls parameter.","url":"https://insights.sbomify.com/CVE-2024-34061/"}