CVE-2025-13896: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpdiscover Social Feed Gallery Portfolio
The Social Feed Gallery Portfolio plugin for WordPress is vulnerable to Stored Cross-Site Scripting 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. 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.
AI Analysis
Technical Summary
CVE-2025-13896 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Social Feed Gallery Portfolio plugin for WordPress, developed by wpdiscover. The vulnerability arises due to improper neutralization of input during web page generation, specifically through the 'id' parameter of the [igp-wp] shortcode. All versions up to and including 1.3 are affected. The root cause is insufficient input sanitization and output escaping, allowing authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code into pages. This malicious code is stored persistently and executed in the context of any user who accesses the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability has a CVSS v3.1 base score of 6.4, indicating medium severity, with an attack vector of network, low attack complexity, requiring privileges (Contributor or higher), no user interaction, and scope change due to potential impact on other users. Although no known exploits have been reported in the wild, the vulnerability poses a significant risk in multi-user WordPress environments where contributors can add content. The vulnerability was published on December 6, 2025, with no official patch available at the time of reporting, necessitating immediate mitigation efforts by site administrators.
Potential Impact
For European organizations, this vulnerability can lead to unauthorized script execution within their WordPress sites, potentially resulting in session hijacking, data theft, defacement, or further exploitation of user accounts. Since the attack requires authenticated access with Contributor-level privileges, environments with multiple content contributors or editors are at higher risk. The compromise of user sessions can lead to unauthorized access to sensitive information or administrative functions, impacting confidentiality and integrity. The vulnerability does not directly affect availability but can damage organizational reputation and trust if exploited. Given the widespread use of WordPress across Europe, especially in sectors like media, education, and small to medium enterprises, the impact could be significant if exploited at scale. Additionally, the scope change in the CVSS vector indicates that the vulnerability could affect other users beyond the attacker, amplifying its potential impact.
Mitigation Recommendations
1. Immediately restrict Contributor-level access to trusted users only and review user roles to minimize unnecessary privileges. 2. Implement strict input validation and output escaping on the 'id' parameter if custom modifications are possible before an official patch is released. 3. Deploy a Web Application Firewall (WAF) with rules to detect and block common XSS payloads targeting WordPress shortcodes. 4. Monitor logs and user activity for unusual behavior indicative of exploitation attempts, such as unexpected script injections or anomalous page content changes. 5. Educate content contributors about the risks of injecting untrusted content and enforce content submission policies. 6. Regularly update the plugin once a patch is released by the vendor. 7. Consider temporarily disabling or replacing the Social Feed Gallery Portfolio plugin if immediate patching is not feasible. 8. Use Content Security Policy (CSP) headers to restrict script execution sources, mitigating the impact of injected scripts.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-13896: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpdiscover Social Feed Gallery Portfolio
Description
The Social Feed Gallery Portfolio plugin for WordPress is vulnerable to Stored Cross-Site Scripting 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. 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.
AI-Powered Analysis
Technical Analysis
CVE-2025-13896 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Social Feed Gallery Portfolio plugin for WordPress, developed by wpdiscover. The vulnerability arises due to improper neutralization of input during web page generation, specifically through the 'id' parameter of the [igp-wp] shortcode. All versions up to and including 1.3 are affected. The root cause is insufficient input sanitization and output escaping, allowing authenticated users with Contributor-level access or higher to inject arbitrary JavaScript code into pages. This malicious code is stored persistently and executed in the context of any user who accesses the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability has a CVSS v3.1 base score of 6.4, indicating medium severity, with an attack vector of network, low attack complexity, requiring privileges (Contributor or higher), no user interaction, and scope change due to potential impact on other users. Although no known exploits have been reported in the wild, the vulnerability poses a significant risk in multi-user WordPress environments where contributors can add content. The vulnerability was published on December 6, 2025, with no official patch available at the time of reporting, necessitating immediate mitigation efforts by site administrators.
Potential Impact
For European organizations, this vulnerability can lead to unauthorized script execution within their WordPress sites, potentially resulting in session hijacking, data theft, defacement, or further exploitation of user accounts. Since the attack requires authenticated access with Contributor-level privileges, environments with multiple content contributors or editors are at higher risk. The compromise of user sessions can lead to unauthorized access to sensitive information or administrative functions, impacting confidentiality and integrity. The vulnerability does not directly affect availability but can damage organizational reputation and trust if exploited. Given the widespread use of WordPress across Europe, especially in sectors like media, education, and small to medium enterprises, the impact could be significant if exploited at scale. Additionally, the scope change in the CVSS vector indicates that the vulnerability could affect other users beyond the attacker, amplifying its potential impact.
Mitigation Recommendations
1. Immediately restrict Contributor-level access to trusted users only and review user roles to minimize unnecessary privileges. 2. Implement strict input validation and output escaping on the 'id' parameter if custom modifications are possible before an official patch is released. 3. Deploy a Web Application Firewall (WAF) with rules to detect and block common XSS payloads targeting WordPress shortcodes. 4. Monitor logs and user activity for unusual behavior indicative of exploitation attempts, such as unexpected script injections or anomalous page content changes. 5. Educate content contributors about the risks of injecting untrusted content and enforce content submission policies. 6. Regularly update the plugin once a patch is released by the vendor. 7. Consider temporarily disabling or replacing the Social Feed Gallery Portfolio plugin if immediate patching is not feasible. 8. Use Content Security Policy (CSP) headers to restrict script execution sources, mitigating the impact of injected scripts.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-12-02T16:09:49.022Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6933c72011163305efef426f
Added to database: 12/6/2025, 6:03:12 AM
Last enriched: 12/6/2025, 6:13:32 AM
Last updated: 12/6/2025, 8:28:31 AM
Views: 7
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.
Related Threats
CVE-2025-12499: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in widgetpack Rich Shortcodes for Google Reviews
HighCVE-2025-13748: CWE-639 Authorization Bypass Through User-Controlled Key in techjewel Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder
MediumCVE-2025-13377: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in 10web 10Web Booster – Website speed optimization, Cache & Page Speed optimizer
CriticalCVE-2025-13907: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tunilame CSS3 Buttons
MediumCVE-2025-13899: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in pntrinh TR Timthumb
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.