{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-21649 exists.","fix":"No fix has been published for CVE-2022-21649 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-21649 is a high-severity cross-site scripting vulnerability in convos-chat convos, published on 4 Jan 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-21649 and fix it if it is affected.\n\nWhat it is: CVE-2022-21649 is a high-severity cross-site scripting vulnerability in convos-chat convos, published on 4 Jan 2022. 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-2022-21649 exists.\n\nAffected product: convos-chat convos. 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-21649/ (Markdown: https://insights.sbomify.com/CVE-2022-21649/index.md)","id":"CVE-2022-21649","markdown":"https://insights.sbomify.com/CVE-2022-21649/index.md","name":"CVE-2022-21649","record":{"aliases":["GHSA-xmpj-xwm3-vww7"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Convos chat application","requires_auth":"low_privilege","summary":"Attackers can execute malicious scripts in Convos chat via stored XSS in link attributes, requiring users to upgrade immediately.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"convos","vendor":"convos"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Convos is an open source multi-user chat that runs in a web browser. Characters starting with \"https://\" in the chat window create an \u003ca\u003e tag. Stored XSS vulnerability using onfocus and autofocus occurs because escaping exists for \"\u003c\" or \"\u003e\" but escaping for double quotes does not exist. Through this vulnerability, an attacker is capable to execute malicious scripts. Users are advised to update as soon as possible.","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 via attribute in convos","id":"CVE-2022-21649","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"xss","year":"2022"},"n_packages":0,"n_references":4,"next":{"headline":"Stored XSS via html file upload in convos","id":"CVE-2022-21650"},"packages":[],"prev":{"headline":"Sandbox bypass in Latte templates","id":"CVE-2022-21648"},"products":["convos"],"published":"2022-01-04","related":[{"cvss_score":7.6,"headline":"Stored XSS via html file upload in convos","id":"CVE-2022-21650","kev_date_added":null,"published":"2022-01-04"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2021-42584","kev_date_added":null,"published":"2021-12-17"},{"cvss_score":5.3,"headline":"Weak cryptography in n/a","id":"CVE-2020-14423","kev_date_added":null,"published":"2020-06-18"}],"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":"2025-04-22","vendors":["convos-chat"]},"summary":"Attackers can execute malicious scripts in Convos chat via stored XSS in link attributes, requiring users to upgrade immediately.","url":"https://insights.sbomify.com/CVE-2022-21649/"}