CVE-2025-12019: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mervinpraison Featured Image
The Featured Image plugin for WordPress is vulnerable to Stored Cross-Site Scripting via image metadata in all versions up to, and including, 2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
AI Analysis
Technical Summary
CVE-2025-12019 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Featured Image plugin for WordPress, developed by mervinpraison. This vulnerability affects all versions up to and including 2.1. The root cause is insufficient input sanitization and output escaping of image metadata fields, which allows an attacker with administrator-level permissions or higher to inject arbitrary JavaScript code into pages generated by the plugin. The vulnerability specifically impacts WordPress multisite installations or those where the unfiltered_html capability is disabled, limiting the contexts in which the attack can be successfully executed. When a user visits a page containing the injected script, the malicious code executes in their browser context, potentially compromising session tokens, cookies, or enabling further attacks such as privilege escalation or data theft. The CVSS 3.1 base score is 4.4, reflecting a medium severity level due to the requirement for high privileges (administrator) and the complexity of exploitation (high attack complexity). The vulnerability does not require user interaction beyond visiting the affected page and has a scope change, meaning it can affect resources beyond the initially compromised component. No public exploits have been reported to date, and no official patches have been linked in the provided data. The vulnerability is tracked under CWE-79, which covers improper neutralization of input during web page generation leading to XSS.
Potential Impact
The primary impact of CVE-2025-12019 is the potential for stored XSS attacks within WordPress multisite environments using the Featured Image plugin. Successful exploitation can lead to unauthorized script execution in the context of other users, including site administrators and editors, potentially resulting in session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of victims. This can undermine the confidentiality and integrity of the affected websites and their users. Since the vulnerability requires administrator-level access to inject malicious payloads, the risk is somewhat mitigated by the need for privileged credentials; however, insider threats or compromised admin accounts could leverage this vulnerability to escalate attacks. The scope change indicates that the impact can extend beyond the plugin itself, affecting other parts of the multisite network. Organizations running WordPress multisite installations with this plugin may face reputational damage, data breaches, and operational disruptions if the vulnerability is exploited. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits once the vulnerability becomes widely known.
Mitigation Recommendations
To mitigate CVE-2025-12019, organizations should first verify whether they are running the Featured Image plugin version 2.1 or earlier, particularly in multisite WordPress environments or where unfiltered_html is disabled. Immediate mitigation steps include: 1) Restricting administrator access to trusted personnel only and enforcing strong authentication mechanisms such as multi-factor authentication to reduce the risk of account compromise. 2) Monitoring and auditing administrator activities for suspicious behavior that could indicate attempts to inject malicious metadata. 3) Applying any available patches or updates from the plugin vendor as soon as they are released; if no patch is currently available, consider temporarily disabling the plugin or limiting its use in multisite contexts. 4) Implementing Web Application Firewall (WAF) rules to detect and block suspicious payloads in image metadata or script injections. 5) Reviewing and sanitizing existing image metadata entries in the WordPress database to remove potentially malicious scripts. 6) Educating administrators about the risks of uploading or modifying image metadata and encouraging safe content management practices. 7) Considering the use of security plugins that provide enhanced input sanitization and output escaping for WordPress content. These steps go beyond generic advice by focusing on access control, monitoring, and proactive content sanitization specific to the vulnerability's attack vector.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, India, Brazil, Japan
CVE-2025-12019: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in mervinpraison Featured Image
Description
The Featured Image plugin for WordPress is vulnerable to Stored Cross-Site Scripting via image metadata in all versions up to, and including, 2.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-12019 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Featured Image plugin for WordPress, developed by mervinpraison. This vulnerability affects all versions up to and including 2.1. The root cause is insufficient input sanitization and output escaping of image metadata fields, which allows an attacker with administrator-level permissions or higher to inject arbitrary JavaScript code into pages generated by the plugin. The vulnerability specifically impacts WordPress multisite installations or those where the unfiltered_html capability is disabled, limiting the contexts in which the attack can be successfully executed. When a user visits a page containing the injected script, the malicious code executes in their browser context, potentially compromising session tokens, cookies, or enabling further attacks such as privilege escalation or data theft. The CVSS 3.1 base score is 4.4, reflecting a medium severity level due to the requirement for high privileges (administrator) and the complexity of exploitation (high attack complexity). The vulnerability does not require user interaction beyond visiting the affected page and has a scope change, meaning it can affect resources beyond the initially compromised component. No public exploits have been reported to date, and no official patches have been linked in the provided data. The vulnerability is tracked under CWE-79, which covers improper neutralization of input during web page generation leading to XSS.
Potential Impact
The primary impact of CVE-2025-12019 is the potential for stored XSS attacks within WordPress multisite environments using the Featured Image plugin. Successful exploitation can lead to unauthorized script execution in the context of other users, including site administrators and editors, potentially resulting in session hijacking, theft of sensitive information, or unauthorized actions performed on behalf of victims. This can undermine the confidentiality and integrity of the affected websites and their users. Since the vulnerability requires administrator-level access to inject malicious payloads, the risk is somewhat mitigated by the need for privileged credentials; however, insider threats or compromised admin accounts could leverage this vulnerability to escalate attacks. The scope change indicates that the impact can extend beyond the plugin itself, affecting other parts of the multisite network. Organizations running WordPress multisite installations with this plugin may face reputational damage, data breaches, and operational disruptions if the vulnerability is exploited. The absence of known exploits in the wild reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits once the vulnerability becomes widely known.
Mitigation Recommendations
To mitigate CVE-2025-12019, organizations should first verify whether they are running the Featured Image plugin version 2.1 or earlier, particularly in multisite WordPress environments or where unfiltered_html is disabled. Immediate mitigation steps include: 1) Restricting administrator access to trusted personnel only and enforcing strong authentication mechanisms such as multi-factor authentication to reduce the risk of account compromise. 2) Monitoring and auditing administrator activities for suspicious behavior that could indicate attempts to inject malicious metadata. 3) Applying any available patches or updates from the plugin vendor as soon as they are released; if no patch is currently available, consider temporarily disabling the plugin or limiting its use in multisite contexts. 4) Implementing Web Application Firewall (WAF) rules to detect and block suspicious payloads in image metadata or script injections. 5) Reviewing and sanitizing existing image metadata entries in the WordPress database to remove potentially malicious scripts. 6) Educating administrators about the risks of uploading or modifying image metadata and encouraging safe content management practices. 7) Considering the use of security plugins that provide enhanced input sanitization and output escaping for WordPress content. These steps go beyond generic advice by focusing on access control, monitoring, and proactive content sanitization specific to the vulnerability's attack vector.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-10-21T14:17:08.139Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6912b13014bc3e00ba783d41
Added to database: 11/11/2025, 3:44:48 AM
Last enriched: 2/27/2026, 7:52:05 PM
Last updated: 3/24/2026, 8:37:26 PM
Views: 45
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.