{"answers":{"affected":"6 open source packages ship an affected version, including github.com/lf-edge/ekuiper and github.com/lf-edge/ekuiper/v2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52290 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-52290 is a medium-severity cross-site scripting vulnerability in lf-edge ekuiper, published on 14 May 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-52290 and fix it if it is affected.\n\nWhat it is: CVE-2024-52290 is a medium-severity cross-site scripting vulnerability in lf-edge ekuiper, published on 14 May 2025. Any signed-in user can exploit it over the network, 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-52290 exists.\n\nAffected packages and fixed versions:\n- github.com/lf-edge/ekuiper (Go): affected all versions; no fix listed\n- github.com/lf-edge/ekuiper (Go): affected all versions up to 1.14.7; no fix listed\n- github.com/lf-edge/ekuiper (Go): affected all versions up to 1.14.7; no fix listed\n- github.com/lf-edge/ekuiper/v2 (Go): affected all versions; fixed in 2.1.0\n- github.com/lf-edge/ekuiper/v2 (Go): affected all versions; fixed in 2.1.0\n- github.com/lf-edge/ekuiper/v2 (Go): affected all versions; fixed in 2.1.0\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-52290/ (Markdown: https://insights.sbomify.com/CVE-2024-52290/index.md)","id":"CVE-2024-52290","markdown":"https://insights.sbomify.com/CVE-2024-52290/index.md","name":"CVE-2024-52290","record":{"aliases":["GHSA-9cwv-pxcr-hfjc","GO-2025-3682"],"analysis":{"component_type":"iot_embedded","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"IoT stream processing engine","requires_auth":"low_privilege","summary":"An attacker with modification rights can inject XSS payloads into configuration keys, allowing code execution in the browser of users who delete those keys.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ekuiper","vendor":"lfedge"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"LF Edge eKuiper is a lightweight internet of things (IoT) data analytics and stream processing engine. Prior to version 2.1.0 user with rights to modificate the service (e.g. kuiperUser role) can inject a cross-site scripting payload into Connection Configuration key `Name` (`confKey`) parameter. After this setup, when any user with access to this service (e.g. admin) tries to delete this key, a payload acts in the victim's browser. Version 2.1.0 fixes the issue.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Stored XSS in Configuration Key Functionality","id":"CVE-2024-52290","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":6,"n_references":1,"next":{"headline":"Local File System Validation Bypass Leading to File Overwrite, Sensitive File Access, and Potential Code Execution","id":"CVE-2024-52291"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/ekuiper","purl":"pkg:golang/github.com/lf-edge/ekuiper","source":"GO-2025-3682"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.14.7"],"package":"github.com/lf-edge/ekuiper","purl":null,"source":"GHSA-9cwv-pxcr-hfjc"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":["1.14.7"],"package":"github.com/lf-edge/ekuiper","purl":"pkg:golang/github.com/lf-edge/ekuiper","source":"GHSA-9cwv-pxcr-hfjc"},{"ecosystem":"Go","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/ekuiper/v2","purl":null,"source":"GHSA-9cwv-pxcr-hfjc"},{"ecosystem":"Go","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/ekuiper/v2","purl":"pkg:golang/github.com/lf-edge/ekuiper/v2","source":"GHSA-9cwv-pxcr-hfjc"},{"ecosystem":"Go","fixed":["2.1.0"],"introduced":["0"],"last_affected":[],"package":"github.com/lf-edge/ekuiper/v2","purl":"pkg:golang/github.com/lf-edge/ekuiper/v2","source":"GO-2025-3682"}],"prev":{"headline":"authentik has an insecure default configuration for OAuth2 Redirect URIs","id":"CVE-2024-52289"},"products":["ekuiper"],"published":"2025-05-14","related":[{"cvss_score":8.9,"headline":"eKuiper API endpoints handling SQL queries with user-controlled table names.","id":"CVE-2025-54379","kev_date_added":null,"published":"2025-07-24"},{"cvss_score":8.8,"headline":"LF Edge eKuiper has a SQL Injection in sqlKvStore","id":"CVE-2024-43406","kev_date_added":null,"published":"2024-08-20"}],"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":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-14","vendors":["lf-edge"]},"summary":"An attacker with modification rights can inject XSS payloads into configuration keys, allowing code execution in the browser of users who delete those keys.","url":"https://insights.sbomify.com/CVE-2024-52290/"}