{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2022-2342 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2022-2342 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-2342 is a high-severity cross-site scripting vulnerability in outline/outline, published on 7 Jul 2022. 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-2022-2342 and fix it if it is affected.\n\nWhat it is: CVE-2022-2342 is a high-severity cross-site scripting vulnerability in outline/outline, published on 7 Jul 2022. 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-2022-2342 in the wild and no public exploit code.\n\nAffected product: outline/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-2022-2342/ (Markdown: https://insights.sbomify.com/CVE-2022-2342/index.md)","id":"CVE-2022-2342","markdown":"https://insights.sbomify.com/CVE-2022-2342/index.md","name":"CVE-2022-2342","record":{"aliases":["GHSA-qc42-vfh6-3wcf"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Outline knowledge base","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts into the Outline knowledge base, potentially stealing user sessions or executing code in victim browsers.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"outline","vendor":"getoutline"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site Scripting (XSS) - Stored in GitHub repository outline/outline prior to v0.64.4.","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":"Cross-site Scripting (XSS) - Stored in outline/outline","id":"CVE-2022-2342","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"Heap-based Buffer Overflow in vim/vim","id":"CVE-2022-2343"},"packages":[],"prev":{"headline":"Simple Page Transition \u003c= 1.4.1 - Admin+ Stored Cross-Site Scripting","id":"CVE-2022-2341"},"products":["outline/outline"],"published":"2022-07-07","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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["outline"]},"summary":"Attackers can inject malicious scripts into the Outline knowledge base, potentially stealing user sessions or executing code in victim browsers.","url":"https://insights.sbomify.com/CVE-2022-2342/"}