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
Published: 2025-07-04
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is a stored cross‑site scripting (XSS) flaw that allows an authenticated Contributor‑level user to inject arbitrary JavaScript through the Custom JS attributes of the PowerFolio widgets. The injection is not properly sanitized or escaped, so the malicious script is saved in the database and executed whenever any user views the affected page, enabling attackers to steal session cookies, deface content, or redirect users to phishing sites. This weakness is classified as CWE‑79.

Affected Systems

The flaw exists in all releases of the PowerFolio – Portfolio & Image Gallery for Elementor plugin up to and including version 3.2.0. The plugin is provided by dotrex and functions as a WordPress plugin. A partial fix was applied in version 3.2.0, but a full resolution was not reached until version 3.2.1.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity impact. With an EPSS score of less than 1% the probability of exploitation is low, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires the attacker to hold at least Contributor access, which is typically authenticated. Once an attacker achieves that privilege, they can inject scripts that execute in the browsers of all users who load the targeted page, potentially granting them stealthy persistent access.

Generated by OpenCVE AI on April 22, 2026 at 14:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade PowerFolio to version 3.2.1 or later, which removes the vulnerable Custom JS handling.
  • If an upgrade is not immediately possible, restrict Contributor users or disable the Custom JS feature in the widget settings to prevent script injection.
  • Ensure that all plugin-related input is properly validated and escaped on the server side and that only trusted, highly privileged users can add custom scripts.

Generated by OpenCVE AI on April 22, 2026 at 14:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-19927 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
History

Wed, 09 Jul 2025 18:00:00 +0000

Type Values Removed Values Added
First Time appeared Pwrplugins
Pwrplugins powerfolio
CPEs cpe:2.3:a:pwrplugins:powerfolio:*:*:*:*:*:wordpress:*:*
Vendors & Products Pwrplugins
Pwrplugins powerfolio

Tue, 08 Jul 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 04 Jul 2025 02:30:00 +0000

Type Values Removed Values Added
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
Title Portfolio for Elementor & Image Gallery | PowerFolio <= 3.2.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Custom JS
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Pwrplugins Powerfolio
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:36:19.539Z

Reserved: 2025-07-03T12:05:04.878Z

Link: CVE-2025-7046

cve-icon Vulnrichment

Updated: 2025-07-07T19:46:31.019Z

cve-icon NVD

Status : Analyzed

Published: 2025-07-04T03:15:23.743

Modified: 2025-07-09T17:44:53.053

Link: CVE-2025-7046

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-22T14:45:19Z

Weaknesses