CVE-2026-12561
JSON

6.4medium

tagDiv Composer <= 5.4.5 - Authenticated (Contributor+) Stored Cross-Site Scripting

Severity
6.4medium CVSS:3.1 by Wordfence
Exploit likelihood
0.17% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

Description

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).

Affected

Product or packageVersionsReported by
tagDiv tagDiv Composerup to 5.4.5CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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).

NVD (es)

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).

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12561 changed 2026-08-25CVE Terms of Use
NVDCVE-2026-12561 changed 2026-09-28Public domain