{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-58351 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-58351 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-58351 is a medium-severity cross-site scripting vulnerability in outline, published on 3 Sep 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-2025-58351 and fix it if it is affected.\n\nWhat it is: CVE-2025-58351 is a medium-severity cross-site scripting vulnerability in outline, published on 3 Sep 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-58351 in the wild and no public exploit code.\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-2025-58351/ (Markdown: https://insights.sbomify.com/CVE-2025-58351/index.md)","id":"CVE-2025-58351","markdown":"https://insights.sbomify.com/CVE-2025-58351/index.md","name":"CVE-2025-58351","record":{"aliases":["GHSA-gcj7-c9jv-fhgf"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Outline documentation service","requires_auth":"low_privilege","summary":"Attackers can execute scripts in other users' contexts by uploading malicious files when local storage is enabled on the same domain.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"outline","vendor":"getoutline"}],"cvss":{"score":6.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Outline is a service that allows for collaborative documentation. In versions 0.72.0 through 0.83.0, Outline introduced a feature which facilitates local file system storage capabilities as an optional file storage strategy. This feature allowed a CSP bypass as well as a ContentType bypass that might facilitate further attacks. In the case of self-hosting and using Outline FILE_STORAGE=local on the same domain as the Outline application, a malicious payload can be uploaded as a file attachment and bypass those CSP restrictions, allowing script execution within the context of another user. This is fixed in version 0.84.0.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Outline's Local File Storage Feature can Cause CSP Bypass","id":"CVE-2025-58351","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"Weblate has long session expiry times during second factor verification","id":"CVE-2025-58352"},"packages":[],"prev":{"headline":"Denial of service in n/a","id":"CVE-2025-58349"},"products":["outline"],"published":"2025-09-03","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":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-03","vendors":["outline"]},"summary":"Attackers can execute scripts in other users' contexts by uploading malicious files when local storage is enabled on the same domain.","url":"https://insights.sbomify.com/CVE-2025-58351/"}