CVE-2025-13896
BaseFortify
Publication date: 2025-12-06
Last updated on: 2025-12-08
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wordpress | social-feed-gallery-portfolio | 1.3 |
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?
This vulnerability is a Stored Cross-Site Scripting (XSS) issue in the Social Feed Gallery Portfolio plugin for WordPress. It occurs via the 'id' parameter of the [igp-wp] shortcode in all versions up to and including 1.3. Due to insufficient input sanitization and output escaping, authenticated users with Contributor-level access or higher can inject malicious scripts into pages. These scripts execute whenever any user accesses the injected page.
How can this vulnerability impact me? :
This vulnerability can allow attackers with Contributor-level access or higher to inject arbitrary web scripts that execute in the context of other users visiting the affected pages. This can lead to theft of user credentials, session hijacking, defacement, or other malicious actions impacting the website's users and integrity.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by scanning for the presence of the Social Feed Gallery Portfolio WordPress plugin versions up to 1.3 and checking for usage of the [igp-wp] shortcode with an 'id' parameter. On the system, you can search for the plugin directory or files such as 'class-portfolio-shortcode.php' in the 'includes/public' folder. Additionally, inspecting WordPress pages or posts for the shortcode '[igp-wp]' with suspicious or unexpected 'id' values may indicate exploitation attempts. While no specific commands are provided, typical detection steps include: 1) Using WP-CLI to list installed plugins and their versions: `wp plugin list` 2) Searching plugin files for the vulnerable shortcode handler: `grep -r 'igp-wp' wp-content/plugins/social-feed-gallery-portfolio/` 3) Reviewing database content for posts containing the shortcode: `wp db query "SELECT ID, post_content FROM wp_posts WHERE post_content LIKE '%[igp-wp id=%'"` 4) Monitoring web server logs for requests containing the shortcode or unusual parameters. These steps help identify if the vulnerable plugin is installed and if the shortcode is used in a way that could be exploited. [1, 2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1) Updating the Social Feed Gallery Portfolio plugin to a version later than 1.3 where the vulnerability is fixed. 2) If an update is not available, temporarily disabling or removing the plugin to prevent exploitation. 3) Restricting Contributor-level and above user permissions to trusted users only, as the vulnerability requires authenticated users with at least Contributor access. 4) Reviewing and sanitizing any existing content using the [igp-wp] shortcode to remove potentially malicious scripts injected via the 'id' parameter. 5) Implementing Web Application Firewall (WAF) rules to block malicious payloads targeting the shortcode parameter. These steps reduce the risk of stored cross-site scripting attacks via this vulnerability. [1, 2]