Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-3741
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:50 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-3741
Complete source record
{
"id": "2d4043766a7e59ebb6c58d91f5002e20df2be63de65cc1bfd74bb89927c35fdd",
"url": "https://osv.dev/vulnerability/CVE-2021-3741",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-3741",
"summary": "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.",
"evidence": "osv:CVE-2021-3741",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-3741",
"aliases": [
"CVE-2021-3741"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/chatwoot/chatwoot",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "374b3671154d65df302130c07037f50438164ffa"
},
{
"fixed": "6fdd4a29969be8423f31890b807d27d13627c50c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:chatwoot:chatwoot:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "6fdd4a29969be8423f31890b807d27d13627c50c"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"v2.5.0",
"v2.4.1",
"v2.4.0",
"v2.3.2",
"v2.3.1",
"v2.3.0",
"v2.2.1",
"v2.2.0",
"v2.1.1",
"v2.1.0",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v1.22.1",
"v1.22.0",
"v1.21.1",
"v1.21.0",
"v1.20.0",
"v1.19.0",
"v1.18.1",
"v1.18.0",
"v1.17.1",
"v1.17.0",
"v1.16.2",
"v1.16.1",
"v1.15.1",
"v1.15.0",
"v1.14.3",
"v1.14.2",
"v1.14.1",
"v1.14.0",
"v1.13.1",
"v1.13.0",
"v1.12.2",
"v1.12.1",
"v1.12.0",
"v1.11.1",
"v1.11.0",
"v1.10.0",
"v1.9.0",
"v1.8.0",
"v1.7.2",
"v1.7.1",
"v1.7.0",
"v1.6.3",
"v1.6.2",
"v1.6.1",
"v1.6.0",
"v1.5.3",
"v1.5.2",
"v1.5.1",
"v1.5.0",
"v1.4.2",
"1.4.2",
"v1.4.1",
"v1.4.0",
"v1.3.0",
"v1.2.4",
"1.2.4",
"v1.2.3",
"v1.2.2",
"v1.2.1",
"v1.2.0",
"v1.1.3",
"v1.1.2",
"v1.1.1",
"v1.1.0",
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3741.json"
}
}
],
"modified": "2026-10-20T10:54:49.267281813Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/1625474692857-chatwoot/chatwoot",
"https://github.com/chatwoot/chatwoot/commit/6fdd4a29969be8423f31890b807d27d13627c50c"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-3741",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 386207,
"published_at": "2024-11-15T11:15:05.327+00:00"
}