CVE-2026-2362 MEDIUM

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

Vendor Joedolson
Product WP Accessibility
Weakness CWE-79 · XSS
Published February 27, 2026
Last update April 8, 2026

CVSS base score

6.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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

Explanation of Vulnerability in Simple Terms

02Summary

WP Accessibility versions 2.3.1 and earlier contain a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts affecting other site visitors. The vulnerability has a changed scope, meaning the impact extends beyond the plugin itself to the broader site. Low-privileged users can exploit this without additional user interaction.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that executes in other users' browsers when they visit the site.

Potential impact on your site

04Site Impact

Authenticated users can inject scripts that compromise visitor sessions, steal data, or deface site content.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege WordPress account (e.g., subscriber or contributor role).

Key dates

06Disclosure timeline

February 27, 2026 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE