CVE-2025-7046: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dotrex Portfolio for Elementor & Image Gallery | PowerFolio
The Portfolio for Elementor & Image Gallery | PowerFolio plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Custom JS Attributes of Plugin's widgets in all versions up to, and including, 3.2.0 due to insufficient input sanitization and output 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. The issue was partially fixed in version 3.2.0 and fully fixed in version 3.2.1
AI Analysis
Technical Summary
CVE-2025-7046 identifies a stored cross-site scripting (XSS) vulnerability in the WordPress plugin Portfolio for Elementor & Image Gallery | PowerFolio developed by dotrex. The vulnerability exists due to improper neutralization of input (CWE-79) during web page generation, specifically in the handling of Custom JS Attributes within the plugin's widgets. Versions up to and including 3.2.0 fail to adequately sanitize and escape user-supplied input, allowing authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code. This malicious code is stored persistently and executed in the context of any user who accesses the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions. The vulnerability is exploitable remotely over the network without user interaction but requires authenticated access with low privileges, making it moderately accessible to attackers. The issue was partially addressed in version 3.2.0 and fully fixed in 3.2.1. The CVSS v3.1 base score of 6.4 reflects a medium severity, with attack vector network, low attack complexity, privileges required, no user interaction, and a scope change. No public exploits have been reported yet, but the vulnerability poses a significant risk to websites using the affected plugin versions.
Potential Impact
The impact of CVE-2025-7046 on organizations worldwide can be significant, especially for those relying on the affected WordPress plugin to manage portfolios or image galleries. Successful exploitation allows attackers with relatively low privileges to inject persistent malicious scripts, which execute in the browsers of site visitors and administrators. This can lead to session hijacking, unauthorized actions performed on behalf of users, defacement, phishing, or distribution of malware. The compromise of administrator sessions could result in full site takeover. Since WordPress powers a large portion of websites globally, and Elementor is a widely used page builder, the affected plugin's market penetration increases the potential attack surface. Organizations with Contributor-level users, such as content creators or editors, are particularly at risk. The vulnerability does not directly impact availability but threatens confidentiality and integrity of user data and site content. The lack of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits after disclosure.
Mitigation Recommendations
To mitigate CVE-2025-7046, organizations should immediately upgrade the Portfolio for Elementor & Image Gallery | PowerFolio plugin to version 3.2.1 or later, where the vulnerability is fully fixed. Until the upgrade is applied, restrict Contributor-level and higher permissions to trusted users only, minimizing the risk of malicious script injection. Implement a Web Application Firewall (WAF) with rules to detect and block suspicious script injection attempts targeting the plugin's widget inputs. Regularly audit and sanitize existing content for injected scripts, especially in Custom JS Attributes fields. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on affected pages. Monitor logs for unusual activity or changes in plugin-related content. Educate content contributors about the risks of injecting arbitrary scripts and enforce strict input validation policies. Finally, maintain an up-to-date inventory of WordPress plugins and monitor vulnerability disclosures to respond promptly to new threats.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, Netherlands, India, Brazil, Japan
CVE-2025-7046: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in dotrex Portfolio for Elementor & Image Gallery | PowerFolio
Description
The Portfolio for Elementor & Image Gallery | PowerFolio plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Custom JS Attributes of Plugin's widgets in all versions up to, and including, 3.2.0 due to insufficient input sanitization and output 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. The issue was partially fixed in version 3.2.0 and fully fixed in version 3.2.1
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-7046 identifies a stored cross-site scripting (XSS) vulnerability in the WordPress plugin Portfolio for Elementor & Image Gallery | PowerFolio developed by dotrex. The vulnerability exists due to improper neutralization of input (CWE-79) during web page generation, specifically in the handling of Custom JS Attributes within the plugin's widgets. Versions up to and including 3.2.0 fail to adequately sanitize and escape user-supplied input, allowing authenticated users with Contributor-level permissions or higher to inject arbitrary JavaScript code. This malicious code is stored persistently and executed in the context of any user who accesses the affected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions. The vulnerability is exploitable remotely over the network without user interaction but requires authenticated access with low privileges, making it moderately accessible to attackers. The issue was partially addressed in version 3.2.0 and fully fixed in 3.2.1. The CVSS v3.1 base score of 6.4 reflects a medium severity, with attack vector network, low attack complexity, privileges required, no user interaction, and a scope change. No public exploits have been reported yet, but the vulnerability poses a significant risk to websites using the affected plugin versions.
Potential Impact
The impact of CVE-2025-7046 on organizations worldwide can be significant, especially for those relying on the affected WordPress plugin to manage portfolios or image galleries. Successful exploitation allows attackers with relatively low privileges to inject persistent malicious scripts, which execute in the browsers of site visitors and administrators. This can lead to session hijacking, unauthorized actions performed on behalf of users, defacement, phishing, or distribution of malware. The compromise of administrator sessions could result in full site takeover. Since WordPress powers a large portion of websites globally, and Elementor is a widely used page builder, the affected plugin's market penetration increases the potential attack surface. Organizations with Contributor-level users, such as content creators or editors, are particularly at risk. The vulnerability does not directly impact availability but threatens confidentiality and integrity of user data and site content. The lack of known exploits reduces immediate risk but does not eliminate the threat, especially as attackers may develop exploits after disclosure.
Mitigation Recommendations
To mitigate CVE-2025-7046, organizations should immediately upgrade the Portfolio for Elementor & Image Gallery | PowerFolio plugin to version 3.2.1 or later, where the vulnerability is fully fixed. Until the upgrade is applied, restrict Contributor-level and higher permissions to trusted users only, minimizing the risk of malicious script injection. Implement a Web Application Firewall (WAF) with rules to detect and block suspicious script injection attempts targeting the plugin's widget inputs. Regularly audit and sanitize existing content for injected scripts, especially in Custom JS Attributes fields. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on affected pages. Monitor logs for unusual activity or changes in plugin-related content. Educate content contributors about the risks of injecting arbitrary scripts and enforce strict input validation policies. Finally, maintain an up-to-date inventory of WordPress plugins and monitor vulnerability disclosures to respond promptly to new threats.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-07-03T12:05:04.878Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68673b5e6f40f0eb729e5fde
Added to database: 7/4/2025, 2:24:30 AM
Last enriched: 2/26/2026, 4:01:43 PM
Last updated: 3/24/2026, 6:14:28 PM
Views: 139
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.