Home

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

PUBLISHED Reserved 2026-02-11 | Published 2026-02-27 | Updated 2026-02-27 | Assigner Wordfence




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

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

* (semver)
affected

Timeline

2026-02-11:Vendor Notified
2026-02-26:Disclosed

Credits

Quốc Huy finder

References

www.wordfence.com/...-717f-4bdb-8eaa-f44e9447ff25?source=cve

plugins.trac.wordpress.org/...y/trunk/js/wp-accessibility.js

plugins.trac.wordpress.org/...y/trunk/js/wp-accessibility.js

plugins.trac.wordpress.org/...s/2.3.1/js/wp-accessibility.js

plugins.trac.wordpress.org/...s/2.3.1/js/wp-accessibility.js

plugins.trac.wordpress.org/...%2Ftrunk&sfp_email=&sfph_mail=

cve.org (CVE-2026-2362)

nvd.nist.gov (CVE-2026-2362)

Download JSON