{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6229 exists.","fix":"No fix has been published for CVE-2024-6229 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6229 is a medium-severity cross-site scripting vulnerability in stangirard/quivr, published on 7 Jul 2024. 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-6229 and fix it if it is affected.\n\nWhat it is: CVE-2024-6229 is a medium-severity cross-site scripting vulnerability in stangirard/quivr, published on 7 Jul 2024. 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-6229 exists.\n\nAffected product: stangirard/quivr. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-6229/ (Markdown: https://insights.sbomify.com/CVE-2024-6229/index.md)","id":"CVE-2024-6229","markdown":"https://insights.sbomify.com/CVE-2024-6229/index.md","name":"CVE-2024-6229","record":{"aliases":["GHSA-2xp5-vm5f-w77m"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Quivr knowledge base","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts via URL uploads in Quivr, leading to data theft and session hijacking for other users.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntr_ai","cpe":[{"product":"quivr","vendor":"quivr"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"A stored cross-site scripting (XSS) vulnerability exists in the 'Upload Knowledge' feature of stangirard/quivr, affecting the latest version. Users can upload files via URL, which allows the insertion of malicious JavaScript payloads. These payloads are stored on the server and executed whenever any user clicks on a link containing the payload, leading to potential data theft, session hijacking, and reputation damage.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Stored XSS in stangirard/quivr","id":"CVE-2024-6229","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Pardakht Delkhah \u003c= 2.9.8 - Form Fields Reset via CSRF","id":"CVE-2024-6230"},"packages":[],"prev":{"headline":"WANotifier \u003c 2.6 - Subscriber+ LFI","id":"CVE-2024-6228"},"products":["stangirard/quivr"],"published":"2024-07-07","related":[{"cvss_score":8.6,"headline":"Server-Side Request Forgery (SSRF) in stangirard/quivr","id":"CVE-2024-5885","kev_date_added":null,"published":"2024-06-27"},{"cvss_score":7.7,"headline":"SSRF Vulnerability in stangirard/quivr","id":"CVE-2024-4851","kev_date_added":null,"published":"2024-06-06"},{"cvss_score":4.3,"headline":"Path Traversal in stangirard/quivr","id":"CVE-2024-6583","kev_date_added":null,"published":"2025-03-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"2024-08-01","vendors":["stangirard"]},"summary":"Attackers can inject malicious scripts via URL uploads in Quivr, leading to data theft and session hijacking for other users.","url":"https://insights.sbomify.com/CVE-2024-6229/"}