Skip to content
Heist/ feed
Back to feed
High

Stored XSS via attribute in convos

Type: advisorySources: OSV

Convos is an open source multi-user chat that runs in a web browser. Characters starting with "https://" in the chat window create an 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-21649
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 22:05 UTC · Revision 1

Source evidence

Stored XSS via attribute in convos

core-osv · Original source

Published 4 Jan 2022, 20:40 UTC

Convos is an open source multi-user chat that runs in a web browser. Characters starting with "https://" in the chat window create an 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.

osv:CVE-2022-21649
Complete source record
{
  "id": "7b7ef1534700bab98a2baeb7b922eb972fc1c502f13985664483b8f751bcf68b",
  "url": "https://osv.dev/vulnerability/CVE-2022-21649",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Stored XSS via attribute in convos",
    "summary": "Convos is an open source multi-user chat that runs in a web browser. Characters starting with \"https://\" in the chat window create an 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.",
    "evidence": "osv:CVE-2022-21649",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2022-21649",
      "aliases": [
        "CVE-2022-21649",
        "GHSA-xmpj-xwm3-vww7"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/convos-chat/convos",
              "type": "GIT",
              "events": [
                {
                  "introduced": "02ed03da300bcc1c2a3fea6941b5952c666d8deb"
                },
                {
                  "fixed": "794ab7d2273327829230bfa96b5b3126b0547bb1"
                },
                {
                  "fixed": "86b2193de375005ba71d9dd53843562c6ac1847c"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "6.49"
                      },
                      {
                        "fixed": "6.52"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "86b2193de375005ba71d9dd53843562c6ac1847c"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.51",
            "v6.50",
            "v6.49"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21649.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.139336725Z",
      "provider": "osv",
      "references": [
        "https://www.huntr.dev/bounties/4532a0ac-4e7c-4fcf-9fe3-630e132325c0/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21649.json",
        "https://github.com/convos-chat/convos/security/advisories/GHSA-xmpj-xwm3-vww7",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-21649",
        "https://github.com/convos-chat/convos/commit/86b2193de375005ba71d9dd53843562c6ac1847c",
        "https://blog.pocas.kr/2021/12/30/2021-12-30-s-xss-convos-chat/#Second-vulnerability"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21649.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-21649",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490437,
  "published_at": "2022-01-04T20:40:20+00:00"
}