CVE-2026-126070
Action View es un framework para gestionar la búsqueda y el renderizado de plantillas de vistas y proporciona helpers de vista para construir HTML. Antes de las versiones 8.1.4.1 y 8.0.5.2, strip_tags en Action View devuelve su salida saneada marcada como html_safe, pero el sanitizador subyacente solo codifica &, < y >, dejando sin codificar " y '.
Leer descripción completaMostrar menos
Como ERB no escapa una cadena marcada como html_safe, la entrada no confiable que pase por strip_tags y se renderice dentro de un valor de atributo HTML entre comillas podría cerrar el atributo y añadir nuevos atributos, lo que podría derivar en XSS. Se ven afectadas las aplicaciones que renderizan la salida de strip_tags a partir de entrada no confiable dentro de un atributo HTML, por ejemplo en un atributo title o en una etiqueta <meta content>. La salida renderizada como contenido de elemento no se ve afectada. Este problema está corregido en las versiones 8.1.4.1 y 8.0.5.2.
Traducción automática del texto original de NVD (en inglés).
Cronología
Elaborada con nuestros propios datos: NVD, CISA KEV y otros catálogos de explotación, FIRST EPSS, exploits públicos, prensa especializada y la cobertura de Orbitaley.
- Registro CVE publicado en NVD
- Última modificación del registro en NVD
Técnicas ATT&CK
Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.
- Explotación
T1189Drive-by Compromiseinitial access85 % - Impacto principal
T1059Command and Scripting Interpreterexecution55 %
CWE-79 y vector UI:R: strip_tags devuelve html_safe sin codificar comillas, lo que permite cerrar atributos HTML y posible XSS en atributos citados.
Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.
Mitigaciones ATT&CK que cubren estas técnicas
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.
Registro NVD
- Estado en NVD
- Pendiente de análisis
- Publicada
- 10 nov 2026
- Última modificación
- 12 nov 2026
- Vector CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Debilidad (CWE)
- CWE-79
Referencias
- Parchegithub.com/rails/rails/commit/568b19cb860322885593e308a7f27aceb…
- Parchegithub.com/rails/rails/commit/c3772a10f405f9644125cbb484adfd2aa…
- Parchegithub.com/rails/rails/releases/tag/v8.0.5.2
- Parchegithub.com/rails/rails/releases/tag/v8.1.4.1
- Referenciagithub.com/rails/rails/security/advisories/GHSA-rq8q-p985-fjq7
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-126070",
"cveTags": [],
"metrics": {
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-126070",
"role": "CISA Coordinator",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-12T16:26:28.666629Z"
}
}
],
"cvssMetricV31": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"cvssData": {
"scope": "CHANGED",
"version": "3.1",
"baseScore": 6.1,
"attackVector": "NETWORK",
"baseSeverity": "MEDIUM",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"integrityImpact": "LOW",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "NONE",
"privilegesRequired": "NONE",
"confidentialityImpact": "LOW"
},
"impactScore": 2.7,
"exploitabilityScore": 2.8
}
]
},
"affected": [
{
"source": "security-advisories@github.com",
"affectedData": [
{
"vendor": "rails",
"product": "rails",
"versions": [
{
"status": "affected",
"version": "< 8.0.5.2"
},
{
"status": "affected",
"version": ">= 8.1, < 8.1.4.1"
}
]
}
]
}
],
"published": "2026-11-10T21:19:25.117",
"references": [
{
"url": "https://github.com/rails/rails/commit/568b19cb860322885593e308a7f27aceb779e9d7",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/rails/rails/commit/c3772a10f405f9644125cbb484adfd2aa7a25a59",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/rails/rails/releases/tag/v8.0.5.2",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/rails/rails/releases/tag/v8.1.4.1",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/rails/rails/security/advisories/GHSA-rq8q-p985-fjq7",
"source": "security-advisories@github.com"
}
],
"vulnStatus": "Awaiting Analysis",
"weaknesses": [
{
"type": "Secondary",
"source": "security-advisories@github.com",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Action View is a framework for handling view template lookup and rendering and provides view helpers for building HTML. Prior to 8.1.4.1 and 8.0.5.2, strip_tags in Action View returns its sanitized output marked html_safe, but the underlying sanitizer encodes only &, < and >, leaving \" and ' unencoded. Because ERB does not escape a string marked html_safe, untrusted input passed through strip_tags and rendered inside a quoted HTML attribute value could close the attribute and add new attributes, possibly leading to XSS. Applications that render strip_tags output from untrusted input inside an HTML attribute, for example in a title attribute or a <meta content> tag, are affected. Output rendered as element content is not affected. This issue is fixed in versions 8.1.4.1 and 8.0.5.2."
}
],
"lastModified": "2026-11-12T22:09:39.233",
"sourceIdentifier": "security-advisories@github.com"
}