{"id":"CVE-2026-12561","aliases":["CVE-2026-12561"],"related":[],"kind":"vulnerability","state":"published","title":"tagDiv Composer <= 5.4.5 - Authenticated (Contributor+) Stored Cross-Site Scripting","summary":"The tagDiv Composer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the vc_raw_html shortcode in all versions up to and including 5.4.5. This is due to insufficient input sanitization and output escaping in the vc_raw_html::render() method, which base64-decodes shortcode content (after a strip_tags() that is bypassed because the encoded payload contains no tags on save) and concatenates the result directly into the page HTML. Because WordPress's save-time wp_kses_post() filter only sees the inert base64 text inside a normal shortcode bracket and does not decode it, the dangerous tags survive into post_content and are emitted unescaped at render time. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page (for example, when an Editor or Administrator previews the pending post).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The tagDiv Composer plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the vc_raw_html shortcode in all versions up to and including 5.4.5. This is due to insufficient input sanitization and output escaping in the vc_raw_html::render() method, which base64-decodes shortcode content (after a strip_tags() that is bypassed because the encoded payload contains no tags on save) and concatenates the result directly into the page HTML. Because WordPress's save-time wp_kses_post() filter only sees the inert base64 text inside a normal shortcode bracket and does not decode it, the dangerous tags survive into post_content and are emitted unescaped at render time. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page (for example, when an Editor or Administrator previews the pending post).","source":"cvelist"},{"lang":"es","text":"El plugin tagDiv Composer para WordPress es vulnerable a cross-site scripting almacenado a través del shortcode vc_raw_html en todas las versiones hasta la 5.4.5 inclusive. Esto se debe a una sanitización de entrada y un escape de salida insuficientes en el método vc_raw_html::render(), que decodifica en base64 el contenido del shortcode (después de un strip_tags() que se omite porque la carga útil codificada no contiene etiquetas al guardar) y concatena el resultado directamente en el HTML de la página. Debido a que el filtro wp_kses_post() de WordPress en tiempo de guardado solo ve el texto base64 inerte dentro de un corchete de shortcode normal y no lo decodifica, las etiquetas peligrosas sobreviven en post_content y se emiten sin escapar en tiempo de renderizado. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador y superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada (por ejemplo, cuyo un Editor o Administrador previsualiza la publicación pendiente).","source":"nvd"}],"published":"2026-08-25T04:27:01.129Z","modified":"2026-09-28T23:10:00.143Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"5.4.5","status":"affected"}],"vendor":"tagDiv","product":"tagDiv Composer","source":"cvelist"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/48ae6e52-4a66-4676-9528-6f997ef54c7a?source=cve","tags":[],"sources":["cvelist","nvd"]},{"url":"https://tagdiv.com/tagdiv-composer-page-builder-basics/","tags":[],"sources":["cvelist","nvd"]}],"credits":["Truoc Phan"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-25T12:05:17.442Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-12561","url":"https://www.cve.org/CVERecord?id=CVE-2026-12561","licence":"CVE Terms of Use","modified":"2026-08-25T12:06:05.846Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-12561","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12561","licence":"Public domain","modified":"2026-09-28T23:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:35.108Z","epss":{"score":0.00174,"percentile":0.07152,"date":"2026-12-01T12:00:22.000Z"}}