Skip to main content

Scalar Astro EUVDEUVD-2026-30944

| CVE-2026-30117 CRITICAL
Code Injection (CWE-94)
2026-05-19 mitre GHSA-p2fw-q3jr-jfj3
9.8
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Generated
May 20, 2026 - 14:22 vuln.today
CVSS changed
May 20, 2026 - 14:22 NVD
9.8 (CRITICAL)
CVE Published
May 19, 2026 - 00:00 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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.

AnalysisAI

Arbitrary code execution in Scalar Astro v0.1.13 allows remote unauthenticated attackers to upload malicious SVG files through the scalar_url query parameter of the Scalar Proxy endpoint. The flaw stems from inadequate validation in the proxy's file handling logic and, per CVSS, requires no authentication or user interaction, though EPSS rates real-world exploitation probability at only 0.02%. No public exploit identified at time of analysis, though a related XSS/Open-Redirect proof-of-concept repository is referenced.

Technical ContextAI

Scalar Astro is an integration of the Scalar API documentation toolkit with the Astro web framework, which exposes a server-side Scalar Proxy endpoint used to fetch and relay remote OpenAPI/Swagger documents. The vulnerability is classified as CWE-94 (Improper Control of Generation of Code, i.e. Code Injection): the proxy's scalar_url query parameter accepts attacker-controlled input that is then treated as an uploadable file, enabling a crafted SVG (which can contain embedded JavaScript or XML-based payloads) to be processed in a context where its contents are executed rather than safely served. CPE data is non-specific (cpe:2.3:a:n/a:n/a:*) so the exact downstream affected packages must be confirmed against the @scalar/astro npm package metadata.

RemediationAI

No vendor-released patch identified at time of analysis from the provided data; consult the NVD advisory at https://nvd.nist.gov/vuln/detail/CVE-2026-30117 and the @scalar/astro project repository for an upgraded version beyond 0.1.13 and apply it as soon as one is published. As compensating controls, disable or remove the Scalar Proxy endpoint if API documentation proxying is not required (trade-off: breaks the 'try it out' feature for remote OpenAPI specs), restrict access to the proxy route via authentication middleware or an allowlist of internal IPs at a reverse proxy (trade-off: blocks legitimate external doc viewers), and validate/sanitize the scalar_url parameter to allow only http(s) URLs pointing to trusted hosts while rejecting any responses whose Content-Type is image/svg+xml or whose body contains <script> or <foreignObject> elements (trade-off: SVG-based diagrams in OpenAPI docs will not render). Serve any proxied content with Content-Disposition: attachment and a strict Content-Security-Policy to prevent active SVG content from executing in the documentation origin.

More in N A

View all
CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

CVE-2026-36356 CRITICAL POC
9.1 May 05

Unauthenticated remote OS command injection in MeiG Smart FORGE_SLT711 cellular gateway firmware MDM9607.LE.1.0-00110-ST

CVE-2026-31071 CRITICAL POC
9.1 May 19

Unauthenticated API access in LalanaChami Pharmacy Management System (commit 5c3d028) allows remote attackers to dump al

CVE-2025-66391 HIGH POC
8.8 Jun 17

In Citrix Cloud through 2025-11-10, an account with read-only access can trigger the beginning of a workflow for write o

CVE-2026-26740 HIGH POC
8.2 Mar 18

Giflib 5.2.2 contains a buffer overflow in the EGifGCBToExtension function that fails to validate allocated memory when

CVE-2025-60464 HIGH POC
7.8 Jun 25

Denial of service in GPAC's MP4Box multimedia tool (versions before 26.02.0) arises from a use-after-free in the gf_sei_

CVE-2026-36355 HIGH POC
7.7 May 05

Arbitrary kernel memory read/write in Realtek rtl819x Jungle SDK Wi-Fi driver allows local unprivileged attackers to acc

CVE-2025-60474 HIGH POC
7.5 Jun 24

Denial of service in GPAC's MP4Box/libgpac media importer (versions before 26.02.0) lets an attacker crash the tool by s

CVE-2026-38639 HIGH POC
7.5 Jun 26

An issue in the parse_month function (/time/strptime.rs) of relibc commit ab6a2e allows attackers to cause a Denial of S

CVE-2026-38641 HIGH POC
7.5 Jun 26

Denial of service in relibc (the Redox OS C standard library) at commit 61f42d allows attackers to crash a process by ge

CVE-2026-38637 HIGH POC
7.5 Jun 25

An issue in the pthread_rwlockattr_setpshared() function of relibc commit 61f42d allows attackers to cause a Denial of S

CVE-2026-38640 HIGH POC
7.5 Jun 25

Denial of service in relibc (the Redox OS C standard library implementation, commit 61f42d) lets attackers crash a proce

Share

EUVD-2026-30944 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy