LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Chatwoot before 2.6 allowed a high-privilege user to upload an SVG avatar containing stored JavaScript. If another user opened that avatar in a new page, the script could run in their browser, risking data exposure, limited tampering, or disruption.

Executive priority

Prioritize remediation for self-hosted Chatwoot below 2.6, particularly in environments with sensitive customer conversations. The privilege and interaction requirements reduce broad exploitation risk, but the potential confidentiality and availability impact is high.

Technical view

CVE-2021-3741 is CWE-79 stored XSS in chatwoot/chatwoot profile avatar handling. The supplied CVSS 3.0 score is 7.8 with AV:A/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:H. Sources identify all versions before 2.6 as affected and reference an upstream fix commit.

Likely exposure

Exposure is limited to organizations running Chatwoot versions earlier than 2.6, especially where high-privilege users can upload SVG profile avatars. The bundle does not provide CPEs or hosted-service exposure details.

Exploitation context

The provided sources do not show CISA KEV listing or active exploitation. Exploitation requires high privileges and user interaction, but successful stored XSS can affect users who later open the malicious avatar page.

Researcher notes

Evidence is concise but consistent: stored XSS via SVG avatar upload, fixed before or in 2.6, with one upstream commit reference. The bundle does not include exploit telemetry, detailed affected version ranges, or operational workaround confirmation.

Mitigation direction

  • Upgrade Chatwoot to version 2.6 or later.
  • Review Chatwoot vendor guidance and the referenced fix commit before backporting.
  • Restrict high-privilege account access until patched.
  • Review uploaded avatar content for unexpected SVG files.

Validation and detection

  • Inventory Chatwoot deployments and confirm their exact versions.
  • Flag any instance running a version earlier than 2.6.
  • Confirm whether profile avatar uploads accept SVG files.
  • Review user-uploaded avatar storage for suspicious SVG content.
  • Check browser-side security reports for script execution from avatar pages.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-3741 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:A/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.0HighCVSS:3.0/AV:A/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:H1.26Primary CVE score

Vulnerability scoring details

Base CVSS 3.0 score

7.8High
CVSS 3.0 vector shape for CVE-2021-3741Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.0/AV:A/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
chatwootchatwoot/chatwootunspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.