{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-40626 exists.","fix":"No fix has been published for CVE-2024-40626 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-40626 is a high-severity cross-site scripting vulnerability in outline, published on 16 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-40626 and fix it if it is affected.\n\nWhat it is: CVE-2024-40626 is a high-severity cross-site scripting vulnerability in outline, published on 16 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-40626 exists.\n\nAffected product: outline. 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-40626/ (Markdown: https://insights.sbomify.com/CVE-2024-40626/index.md)","id":"CVE-2024-40626","markdown":"https://insights.sbomify.com/CVE-2024-40626/index.md","name":"CVE-2024-40626","record":{"aliases":["GHSA-888c-mvg8-v6wh"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":true,"product_category":"Outline editor","requires_auth":"low_privilege","summary":"Authenticated users can inject malicious scripts via document attachments in self-hosted Outline instances, potentially executing code in other users' browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"outline","vendor":"getoutline"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Outline is an open source, collaborative document editor. A type confusion issue was found in ProseMirror’s rendering process that leads to a Stored Cross-Site Scripting (XSS) vulnerability in Outline. An authenticated user can create a document containing a malicious JavaScript payload. When other users view this document, the malicious Javascript can execute in the origin of Outline. Outline includes CSP rules to prevent third-party code execution, however in the case of self-hosting and having your file storage on the same domain as Outline a malicious payload can be uploaded as a file attachment and bypass those CSP restrictions. This issue has been addressed in release version 0.77.3. Users are advised to upgrade. There are no known workarounds for this vulnerability.","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 Cross-site Scripting (XSS) vulnerability in Outline editor","id":"CVE-2024-40626","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"OpaMiddleware does not filter HTTP OPTIONS requests","id":"CVE-2024-40627"},"packages":[],"prev":{"headline":"GeoServer Coverage REST API Allows Server Side Request Forgery","id":"CVE-2024-40625"},"products":["outline"],"published":"2024-07-16","related":[{"cvss_score":9.1,"headline":"Outline has a rate limit bypass that allows brute force of email login OTP","id":"CVE-2026-33640","kev_date_added":null,"published":"2026-03-26"},{"cvss_score":8.8,"headline":"Auth bypass in n/a","id":"CVE-2024-37829","kev_date_added":null,"published":"2024-07-09"},{"cvss_score":8.5,"headline":"Outline 1.6.0 - Unquoted Service Path","id":"CVE-2023-54331","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.5,"headline":"Cross-site Scripting (XSS) - Stored in outline/outline","id":"CVE-2023-3532","kev_date_added":null,"published":"2023-07-07"},{"cvss_score":8.1,"headline":"Outline's IDOR allows unauthorized viewing and seizing of private deleted drafts","id":"CVE-2026-24901","kev_date_added":null,"published":"2026-03-17"},{"cvss_score":7.7,"headline":"Outline has IDOR in document share creation that allows unauthorized access to private documents across workspaces","id":"CVE-2026-41649","kev_date_added":null,"published":"2026-04-28"},{"cvss_score":7.6,"headline":"Outline is vulnerable to privilege escalation vulnerability in document sharing","id":"CVE-2025-64487","kev_date_added":null,"published":"2026-02-11"}],"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":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["outline"]},"summary":"Authenticated users can inject malicious scripts via document attachments in self-hosted Outline instances, potentially executing code in other users' browsers.","url":"https://insights.sbomify.com/CVE-2024-40626/"}