CVE-2026-2362
JSON

6.4medium

WP Accessibility <= 2.3.1 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via 'alt' Attribute

Severity
6.4medium CVSS:3.1 by Wordfence
Exploit likelihood
0.43% (higher than 29% of CVEs)
Published
Last changed
Assigned by
Wordfence

Description

The WP Accessibility plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'alt' attribute of images processed by the "Long Description UI" feature in all versions up to, and including, 2.3.1. This is due to the plugin's JavaScript retrieving the alt attribute using getAttribute() and unsafely concatenating it into innerHTML and insertAdjacentHTML calls without proper sanitization or escaping. 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. Exploitation requires the "Long Description UI" setting to be enabled and set to "Link to description."

Affected

Product or packageVersionsReported by
joedolson WP Accessibilityup to 2.3.1CVE List

Classification

CWE-79

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

What each source says

CVE List

The WP Accessibility plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'alt' attribute of images processed by the "Long Description UI" feature in all versions up to, and including, 2.3.1. This is due to the plugin's JavaScript retrieving the alt attribute using getAttribute() and unsafely concatenating it into innerHTML and insertAdjacentHTML calls without proper sanitization or escaping. 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. Exploitation requires the "Long Description UI" setting to be enabled and set to "Link to description."

NVD (es)

El plugin WP Accessibility para WordPress es vulnerable a cross-site scripting persistente basado en DOM a través del atributo 'alt' de las imágenes procesadas por la función "Long Description UI" en todas las versiones hasta la 2.3.1, inclusive. Esto se debe a que el JavaScript del plugin recupera el atributo alt usando getAttribute() y lo concatena de forma insegura en llamadas a innerHTML e insertAdjacentHTML sin una sanitización o escape adecuados. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador o superior, inyecten scripts web arbitrarios en páginas que se ejecutarán cada vez que un usuario acceda a una página inyectada. La explotación requiere que la configuración "Long Description UI" esté habilitada y establecida en "Link a description."

References

Sources

SourceRecordLicence
CVE ListCVE-2026-2362 changed 2026-04-08CVE Terms of Use
NVDCVE-2026-2362 changed 2026-06-17Public domain