Aplicaciones web · CWE-79
Secuencias de comandos en sitios cruzados (XSS)
La aplicación muestra en una página datos que vienen del usuario sin neutralizarlos, y un atacante logra que el navegador de otra persona ejecute código JavaScript suyo dentro del sitio.
51.058 vulnerabilidades publicadas de este tipo, 33 de ellas explotadas activamente según CISA.
Cómo funciona
El atacante mete código en un campo, un parámetro de la dirección o un dato guardado (un comentario, un nombre, un mensaje). Cuando la aplicación lo pinta en la página tal cual, el navegador de la víctima lo ejecuta como si fuera del propio sitio. Desde ahí puede leer lo que la víctima ve, actuar en su nombre, robar su sesión si la cookie no está protegida o mostrarle un formulario falso. Hay tres variantes: reflejado (viaja en un enlace), almacenado (queda guardado y afecta a todos los que vean ese dato) y basado en el DOM (lo arma el propio JavaScript de la página).
Dónde aparece
Sitios y aplicaciones web, paneles de administración, CMS y sus complementos (WordPress, Joomla, Drupal), consolas web de equipos de red y cualquier producto con interfaz web.
Cómo se corrige
- Codificar la salida según el contexto: HTML, atributo, JavaScript o URL. Las plantillas modernas (React, Angular, Blade, Twig) lo hacen por defecto: no saltarse esa protección.
- Si hay que permitir HTML del usuario, limpiarlo con una biblioteca mantenida (por ejemplo, DOMPurify) con una lista corta de etiquetas permitidas.
- Publicar una política de seguridad de contenido (Content-Security-Policy) que impida ejecutar scripts en línea o de dominios no autorizados.
- Marcar las cookies de sesión como HttpOnly, Secure y SameSite.
- Actualizar el CMS y sus complementos: la mayoría de los XSS publicados están en complementos.
Qué evitar
- Usar innerHTML, dangerouslySetInnerHTML, v-html o document.write con datos del usuario.
- Confiar en filtros de «palabras prohibidas» como <script>: hay muchas otras formas de ejecutar código.
- Pensar que un dato es seguro porque viene de la base de datos: puede haber entrado por otro lado.
Explotadas de este tipo
- CVE-2026-96654Media6.5 ExplotadaPrioridad urgenteEPSS 5,7 %20 de oct de 2026
XSS en Media Server
Plex Media Server before 1.43.3.10861 does not correctly neutralize URL values included in 'searchOne,' allowing an attacker to call other plugins' functions and supply their own parameters.
- CVE-2026-42897Media6.1 ExplotadaPrioridad urgenteEPSS 0,99 %15 de may de 2026
XSS en Microsoft Exchange Server 2016 Cumulative Update 23
Improper neutralization of input during web page generation ('cross-site scripting') in Microsoft Exchange Server allows an unauthorized attacker to perform spoofing over a network.
- CVE-2025-48700Media6.1 ExplotadaPrioridad urgenteEPSS 0,91 %20 de abr de 2026
XSS en zimbra collaboration suite
An issue was discovered in Zimbra Collaboration (ZCS) 8.8.15 and 9.0 and 10.0 and 10.1. A Cross-Site Scripting (XSS) vulnerability in the Zimbra Classic UI allows attackers to execute arbitrary JavaScript within the user's session, potentially leading to unauthorized access to sensitive information. This issue arises from insufficient sanitization of HTML content, specifically involving crafted tag structures and attribute values that include an @import directive and other script injection vectors. The vulnerability is triggered when a user views a crafted e-mail message in the Classic UI, requiring no additional user interaction.
- CVE-2025-66376Media6.1 ExplotadaPrioridad urgenteEPSS 0,72 %18 de mar de 2026
XSS en Collaboration
Zimbra Collaboration (ZCS) 10 before 10.0.18 and 10.1 before 10.1.13 allows Classic UI stored XSS via Cascading Style Sheets (CSS) @import directives in an HTML e-mail message.
- CVE-2025-68461Media6.1 ExplotadaPrioridad urgenteEPSS 5,6 %20 de feb de 2026
XSS en Webmail
Roundcube Webmail before 1.5.12 and 1.6 before 1.6.12 is prone to a Cross-Site-Scripting (XSS) vulnerability via the animate tag in an SVG document.
- CVE-2021-26829Media5.4 ExplotadaPrioridad urgenteEPSS 48 %28 de nov de 2025
XSS en scadabr
OpenPLC ScadaBR through 0.9.1 on Linux and through 1.12.4 on Windows allows stored XSS via system_settings.shtm.
Publicadas recientemente
- CVE-2026-137943Media6.1Prioridad media27 de nov de 2026
XSS en Roundcube Webmail
Roundcube Webmail before 1.6.19 and 1.7.x before 1.7.4 contains a cross-site scripting vulnerability in compose_part_body() in program/actions/mail/compose.php, which converts a text/enriched message part to HTML for the HTML editor without sanitizing the result. Attackers can send a crafted email with a text/enriched part so that script injected into the HTML editor runs in the victim's session when the victim replies to, forwards, or edits the message.
- CVE-2026-135953Alta7.1Prioridad alta27 de nov de 2026
XSS en WS Form LITE
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WS Form WS Form LITE ws-form allows Stored XSS.This issue affects WS Form LITE: from n/a through 1.12.19.
- CVE-2026-135923Alta7.1Prioridad alta27 de nov de 2026
XSS en AWP Classifieds
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPTasty AWP Classifieds another-wordpress-classifieds-plugin allows Stored XSS.This issue affects AWP Classifieds: from n/a through 4.4.10.
- CVE-2026-134983Alta7.1Prioridad alta27 de nov de 2026
XSS en Push Notification for Post and BuddyPress
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Muralidharan Ramasamy Push Notification for Post and BuddyPress push-notification-for-post-and-buddypress allows Stored XSS.This issue affects Push Notification for Post and BuddyPress: from n/a through 3.24.
- CVE-2026-134982Alta7.1Prioridad alta27 de nov de 2026
XSS en WPMobile.App
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Amauri.IO WPMobile.App wpappninja allows Stored XSS.This issue affects WPMobile.App: from n/a through 11.90.
- CVE-2026-134956Media6.5Prioridad media27 de nov de 2026
XSS en WP REST Cache
Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) vulnerability in Acato WP REST Cache wp-rest-cache allows Code Injection.This issue affects WP REST Cache: from n/a through 2026.4.2.
- CVE-2026-135950Alta7.1Prioridad alta27 de nov de 2026
XSS en Featured Image from URL
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in fifu.app Featured Image from URL featured-image-from-url allows Stored XSS.This issue affects Featured Image from URL: from n/a through 6.1.8.
- CVE-2026-135948Alta7.1Prioridad alta27 de nov de 2026
XSS en MPG
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Themeisle MPG multiple-pages-generator-by-porthas allows Stored XSS.This issue affects MPG: from n/a through 4.2.6.