Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-1757: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in portfoliohub WordPress Portfolio Builder – Portfolio Gallery

0
Medium
VulnerabilityCVE-2025-1757cvecve-2025-1757cwe-79
Published: Fri Feb 28 2025 (02/28/2025, 04:21:56 UTC)
Source: CVE Database V5
Vendor/Project: portfoliohub
Product: WordPress Portfolio Builder – Portfolio Gallery

Description

CVE-2025-1757 is a stored cross-site scripting (XSS) vulnerability in the WordPress Portfolio Builder – Portfolio Gallery plugin affecting all versions up to 1. 1. 7. Authenticated users with contributor-level access or higher can exploit insufficient input sanitization and output escaping in the 'pfhub_portfolio' and 'pfhub_portfolio_portfolio' shortcodes to inject malicious scripts. These scripts execute whenever any user views the compromised page, potentially leading to session hijacking, privilege escalation, or defacement. The vulnerability has a CVSS score of 6. 4 (medium severity) and requires no user interaction beyond visiting the injected page. While no known exploits are currently reported in the wild, the vulnerability poses a significant risk to WordPress sites using this plugin. Organizations should prioritize patching or applying mitigations to prevent exploitation, especially those with multiple contributors. Countries with high WordPress usage and active web development communities are most at risk.

AI-Powered Analysis

AILast updated: 02/25/2026, 22:07:45 UTC

Technical Analysis

CVE-2025-1757 is a stored cross-site scripting (XSS) vulnerability classified under CWE-79, found in the WordPress Portfolio Builder – Portfolio Gallery plugin. This vulnerability affects all versions up to and including 1.1.7. The root cause is insufficient sanitization and escaping of user-supplied attributes in the plugin's 'pfhub_portfolio' and 'pfhub_portfolio_portfolio' shortcodes. Authenticated users with contributor-level permissions or higher can inject arbitrary JavaScript code into portfolio pages. When other users access these pages, the malicious scripts execute in their browsers, potentially allowing attackers to steal session cookies, perform actions on behalf of victims, or deface the website. The vulnerability does not require user interaction beyond page access and has a CVSS 3.1 score of 6.4, reflecting medium severity with network attack vector, low attack complexity, and privileges required. The scope is changed (S:C), meaning the vulnerability can affect resources beyond the initially compromised component. No patches or official fixes are currently linked, and no known exploits have been reported in the wild. The vulnerability highlights the risks of inadequate input validation in WordPress plugins, especially those that allow content injection via shortcodes.

Potential Impact

This vulnerability can lead to unauthorized script execution in the context of the affected website, compromising the confidentiality and integrity of user sessions and data. Attackers with contributor-level access can leverage this flaw to escalate privileges by hijacking administrator sessions or injecting malicious content that misleads users or damages the site’s reputation. Although availability is not directly impacted, the injected scripts could be used to deface websites or redirect users to malicious domains, indirectly affecting service trustworthiness. Organizations relying on the Portfolio Builder plugin face risks of data theft, unauthorized actions, and reputational damage. Given WordPress's widespread use, especially among small and medium enterprises, the vulnerability could be exploited in targeted attacks or automated campaigns once exploit code becomes available. The requirement for authenticated access limits exposure but does not eliminate risk, as contributor accounts are common in collaborative environments.

Mitigation Recommendations

Organizations should immediately audit their WordPress installations to identify the use of the Portfolio Builder – Portfolio Gallery plugin and verify the version in use. Until an official patch is released, administrators should restrict contributor-level permissions to trusted users only and consider temporarily disabling or uninstalling the plugin if feasible. Implementing a Web Application Firewall (WAF) with rules to detect and block suspicious shortcode attribute inputs can provide interim protection. Site owners should also enforce strict input validation and output encoding practices for any custom shortcode usage. Monitoring logs for unusual contributor activity and scanning for injected scripts on portfolio pages can help detect exploitation attempts. Once a patch becomes available, prompt application is critical. Additionally, educating contributors about the risks of injecting untrusted content and maintaining least privilege principles will reduce attack surface.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-02-27T15:30:56.479Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 699f6b19b7ef31ef0b54e14b

Added to database: 2/25/2026, 9:35:21 PM

Last enriched: 2/25/2026, 10:07:45 PM

Last updated: 2/26/2026, 8:09:10 AM

Views: 1

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats