CVE-2026-3350
Stored XSS in WordPress Image Alt Text Manager Plugin
Publication date: 2026-03-21
Last updated on: 2026-03-21
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wordfence | image_alt_text_manager | 1.8.2 |
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 Image Alt Text Manager plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in all versions up to and including 1.8.2. This vulnerability arises because the plugin does not properly sanitize or escape input when dynamically generating image alt and title attributes using a DOM parser. As a result, authenticated users with Author-level access or higher can inject malicious scripts into post titles that get stored and executed whenever any user views the affected page.
How can this vulnerability impact me? :
This vulnerability allows attackers with Author-level access or above to inject arbitrary malicious scripts into pages via the post title. When other users access these pages, the injected scripts execute in their browsers, potentially leading to theft of sensitive information, session hijacking, or other malicious actions. Because the vulnerability is a stored XSS, the malicious code persists on the site and affects all visitors to the injected pages.
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?
This vulnerability involves Stored Cross-Site Scripting (XSS) via the post title in the Image Alt Text Manager WordPress plugin versions up to 1.8.2. Detection involves identifying if your WordPress installation uses this plugin version and if any posts have malicious scripts injected in their titles that reflect in image alt or title attributes.
Since the vulnerability requires authenticated users with Author-level access or higher to inject scripts, detection can include reviewing post titles for suspicious script tags or unusual HTML entities.
Suggested commands to detect potential exploitation or presence of the vulnerable plugin and malicious content include:
- Check if the plugin is installed and its version (run from the WordPress root): `wp plugin list | grep alt-manager`
- Search the WordPress database for suspicious script tags in post titles (using MySQL command line or phpMyAdmin): `SELECT ID, post_title FROM wp_posts WHERE post_title LIKE '%<script>%' AND post_status = 'publish';`
- Monitor HTTP responses for injected scripts in image alt or title attributes by capturing traffic with tools like `curl` or `wget` and searching for suspicious inline scripts.
- Use security scanners or WordPress security plugins that can detect XSS payloads or plugin vulnerabilities.
What immediate steps should I take to mitigate this vulnerability?
The primary mitigation step is to update the Image Alt Text Manager plugin to a version that includes the security fix for CVE-2026-3350.
The fix involves sanitizing and escaping user input and output in the plugin code, specifically applying `sanitize_text_field()` to text fields and `esc_attr()` to HTML attributes to prevent script injection.
If immediate updating is not possible, restrict Author-level and higher user permissions to trusted users only, as the vulnerability requires authenticated users with such privileges to exploit.
Additionally, review and clean any existing posts with suspicious or malicious script content in their titles.
Consider implementing Web Application Firewall (WAF) rules to block common XSS payloads targeting image alt and title attributes.