
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-2362 is a Stored DOM-Based Cross-Site Scripting (XSS) vulnerability in the WP Accessibility plugin for WordPress. It affects all versions up to and including 2.3.1, and was disclosed on February 27, 2026, with the CVE record received from Wordfence. The flaw allows authenticated attackers with Contributor-level access or above to inject arbitrary web scripts via the alt attribute of images processed by the "Long Description UI" feature. It carries a CVSS v3.1 base score of 6.4 (Medium), assigned by Wordfence (Wordfence, Red Hat CVE).
The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The plugin's JavaScript code retrieves image alt attributes using getAttribute() and then unsafely concatenates the value directly into innerHTML and insertAdjacentHTML calls without sanitization or escaping, as seen in wp-accessibility.js at lines 713 and 807. Exploitation requires two preconditions: the attacker must have at least Contributor-level WordPress authentication, and the site administrator must have enabled the "Long Description UI" setting configured to "Link to description." A malicious alt attribute value containing a JavaScript payload is stored and later executed in the browser of any user who visits the affected page (Wordfence, WP Trac - L713, WP Trac - L807).
Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of any user's browser session when they visit a page containing the injected content. This can lead to session token theft, credential harvesting, unauthorized actions performed on behalf of victims (including administrators), and potential site defacement or redirection to malicious content. While availability is not directly impacted, the confidentiality and integrity of user sessions and site content are at risk, and a compromised administrator session could lead to full site takeover (Wordfence).
No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported as of the available data. The EPSS score is approximately 0.036%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation is constrained by the requirement for authenticated access (Contributor level or above) and a specific non-default plugin configuration (Wordfence, Red Hat CVE).
alt attribute containing a JavaScript payload, e.g., alt="<img src=x onerror=alert(document.cookie)>" or a more targeted script for session hijacking.alt value is stored in the WordPress database.alt attribute via getAttribute() and unsafely injects it into the DOM via innerHTML or insertAdjacentHTML, executing the attacker's script in the victim's browser context.alt attribute values with HTML tags or JavaScript syntax.<script>, onerror=, or other JavaScript event handlers embedded within image alt attributes.Users should update the WP Accessibility plugin to a version beyond 2.3.1 that includes the fix introduced in the changeset patching this vulnerability. The official patch is available via the WordPress plugin repository changeset (WP Trac Changeset). As a temporary workaround, administrators can disable the "Long Description UI" feature or change its setting away from "Link to description" to eliminate the attack surface until the plugin is updated. Restricting Contributor-level user registrations on the site also reduces exposure (Wordfence).
The vulnerability was reported and disclosed by Wordfence, which assigned the CVE and published the threat intelligence entry. No notable independent researcher commentary, significant media coverage, or widespread social media discussion has been identified beyond standard automated vulnerability feed aggregation across platforms such as VulDB, Vulners, and CIRCL (Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."