CVE-2026-2362
Stored DOM XSS in WP Accessibility Plugin via Image alt Attribute
Publication date: 2026-02-27
Last updated on: 2026-02-27
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wp_accessibility | wp_accessibility | to 2.3.1 (inc) |
| wordfence | wp_accessibility | to 2.3.1 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The WP Accessibility plugin for WordPress has a Stored DOM-Based Cross-Site Scripting (XSS) vulnerability in its "Long Description UI" feature. This vulnerability arises because the plugin's JavaScript retrieves the 'alt' attribute of images using getAttribute() and then inserts it into the page's HTML using innerHTML and insertAdjacentHTML without properly sanitizing or escaping the content.
As a result, an authenticated attacker with Contributor-level access or higher can inject malicious scripts into pages. These scripts will execute whenever any user accesses the injected page, potentially compromising user security.
Exploitation requires that the "Long Description UI" setting is enabled and set to "Link to description."
How can this vulnerability impact me? :
This vulnerability allows an attacker with Contributor-level access or above to inject arbitrary malicious scripts into the website's pages. These scripts execute in the context of users visiting the affected pages, potentially leading to unauthorized actions such as stealing user credentials, session hijacking, or performing actions on behalf of the user.
Because the vulnerability is stored and triggers whenever the page is accessed, it can affect multiple users and persist until the malicious content is removed.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, you should disable the "Long Description UI" setting or set it to a value other than "Link to description."
Additionally, update the WP Accessibility plugin to a version later than 2.3.1 once a patch is available, as all versions up to and including 2.3.1 are vulnerable.
Limit Contributor-level access and above to trusted users only, since exploitation requires authenticated users with such privileges.