CVE-2026-2362
WordPress vulnerability analysis and mitigation

Overview

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

Technical details

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

Impact

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

Exploitability

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

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running WP Accessibility plugin version ≤ 2.3.1 with the "Long Description UI" setting enabled and set to "Link to description" — this can be inferred from page source or plugin version enumeration.
  2. Obtain Contributor access: Register or compromise a WordPress account with at least Contributor-level privileges on the target site.
  3. Craft malicious content: Create or edit a post/page that includes an image with a crafted alt attribute containing a JavaScript payload, e.g., alt="<img src=x onerror=alert(document.cookie)>" or a more targeted script for session hijacking.
  4. Submit content: Publish or submit the post for review. The malicious alt value is stored in the WordPress database.
  5. Trigger execution: When any user (including administrators) visits the page, the WP Accessibility plugin's JavaScript reads the 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.
  6. Achieve objective: Collect session cookies, perform actions as the victim, or escalate privileges if an administrator visits the page (Wordfence, WP Trac - L713).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to post/page creation or editing endpoints from Contributor-level accounts containing unusual alt attribute values with HTML tags or JavaScript syntax.
  • File System / Database: WordPress post content in the database containing <script>, onerror=, or other JavaScript event handlers embedded within image alt attributes.
  • Network: Outbound requests from victim browsers to attacker-controlled domains (e.g., for cookie exfiltration) originating from pages that include images processed by the WP Accessibility "Long Description UI" feature.
  • Process/Behavior: Unexpected JavaScript execution or browser-side errors logged in server-side analytics or Content Security Policy (CSP) violation reports referencing inline scripts on pages with WP Accessibility-processed images.

Mitigation and workarounds

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

Community reactions

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

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-83547MEDIUM6.8
  • xpro-elementor-addons
NoYesSep 02, 2026
CVE-2026-82884MEDIUM6.8
  • all-in-one-seo-pack
NoYesSep 02, 2026
CVE-2026-8151MEDIUM5.4
  • simple-membership-mailchimp-integration
NoYesSep 02, 2026
CVE-2026-83533MEDIUM5.3
  • wp-express-checkout
NoYesSep 02, 2026
CVE-2026-81571MEDIUM4.8
  • brave-popup-builder
NoYesSep 02, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management