CVE-2024-34341
Trix is a rich text editor. The Trix editor, versions prior to 2.1.1, is vulnerable to arbitrary code execution when copying and pasting content from the web or other documents with markup into the editor. The vulnerability stems from improper sanitization of pasted content, allowing an attacker to embed malicious scripts which are executed within the context of the application. Users should upgrade to Trix editor version 2.1.1 or later, which incorporates proper sanitization of input from copied content.
CVSS
- Versión: 3.1
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Puntuación base: 5.4
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días: 0.78%
- Percentil entre todas las CVEs puntuadas: 55
- Fecha de la puntuación: 6/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
CWE
- CWE-79
Referencias
- https://github.com/basecamp/trix/commit/1a5c68a14d48421fc368e30026f4a7918028b7ad
- https://github.com/basecamp/trix/commit/841ff19b53f349915100bca8fcb488214ff93554
- https://github.com/basecamp/trix/pull/1147
- https://github.com/basecamp/trix/pull/1149
- https://github.com/basecamp/trix/releases/tag/v2.1.1
- https://github.com/basecamp/trix/security/advisories/GHSA-qjqp-xr96-cj99
- https://github.com/basecamp/trix/commit/1a5c68a14d48421fc368e30026f4a7918028b7ad
- https://github.com/basecamp/trix/commit/841ff19b53f349915100bca8fcb488214ff93554
- https://github.com/basecamp/trix/pull/1147
- https://github.com/basecamp/trix/pull/1149
- https://github.com/basecamp/trix/releases/tag/v2.1.1
- https://github.com/basecamp/trix/security/advisories/GHSA-qjqp-xr96-cj99
JSON original (NVD)
Mostrar
{
"id": "CVE-2024-34341",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2024-34341",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-05-07T18:19:32.684649Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 5.4,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
},
"impactScore": 2.5,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "basecamp",
"product": "trix",
"versions": [
{
"status": "affected",
"version": "< 2.1.1"
}
]
}
]
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"affectedData": [
{
"cpes": [
"cpe:2.3:a:basecamp:trix:*:*:*:*:*:*:*:*"
],
"vendor": "basecamp",
"product": "trix",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "2.1.1",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
]
}
],
"published": "2024-05-07T16:15:08.217",
"references": [
{
"url": "https://github.com/basecamp/trix/commit/1a5c68a14d48421fc368e30026f4a7918028b7ad",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/basecamp/trix/commit/841ff19b53f349915100bca8fcb488214ff93554",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/basecamp/trix/pull/1147",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/basecamp/trix/pull/1149",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/basecamp/trix/releases/tag/v2.1.1",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/basecamp/trix/security/advisories/GHSA-qjqp-xr96-cj99",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/basecamp/trix/commit/1a5c68a14d48421fc368e30026f4a7918028b7ad",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/basecamp/trix/commit/841ff19b53f349915100bca8fcb488214ff93554",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/basecamp/trix/pull/1147",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/basecamp/trix/pull/1149",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/basecamp/trix/releases/tag/v2.1.1",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://github.com/basecamp/trix/security/advisories/GHSA-qjqp-xr96-cj99",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Deferred",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Trix is a rich text editor. The Trix editor, versions prior to 2.1.1, is vulnerable to arbitrary code execution when copying and pasting content from the web or other documents with markup into the editor. The vulnerability stems from improper sanitization of pasted content, allowing an attacker to embed malicious scripts which are executed within the context of the application. Users should upgrade to Trix editor version 2.1.1 or later, which incorporates proper sanitization of input from copied content."
},
{
"lang": "es",
"value": "Trix es un editor de texto enriquecido. El editor Trix, versiones anteriores a la 2.1.1, es vulnerable a la ejecución de código arbitrario al copiar y pegar contenido de la web u otros documentos con marcado en el editor. La vulnerabilidad surge de una sanitización inadecuada del contenido pegado, lo que permite a un atacante incrustar scripts maliciosos que se ejecutan dentro del contexto de la aplicación. Los usuarios deben actualizar a la versión 2.1.1 o posterior del editor Trix, que incorpora una sanitización adecuada de la entrada del contenido copiado."
}
],
"lastModified": "2026-06-17T07:33:12.650",
"sourceIdentifier": "security-advisories@github.com"
}