CVE-2026-2362 WP Accessibility <= 2.3.1 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via 'alt' Attribute
Authenticated attackers can inject arbitrary scripts via image alt attributes in the WP Accessibility plugin when the Long Description UI is enabled.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-2362?
CVE-2026-2362 is a medium-severity cross-site scripting vulnerability in joedolson WP Accessibility, published on 27 Feb 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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."
Weakness: CWE-79
Which versions are affected by CVE-2026-2362?
How do I fix CVE-2026-2362?
No fix has been published for CVE-2026-2362 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-2362 being exploited?
There is no known exploitation of CVE-2026-2362 in the wild and no public exploit code.
Sources
Also known as GHSA-v23v-xhv2-h6xf.