SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sveltejs | kit | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Svelte | Kit |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-rqp5-r3wg-vg35 | SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.264% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Svelte
Svelte kit |
|
| Vendors & Products |
Svelte
Svelte kit |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | SvelteKit is a framework for rapidly developing robust, performant web applications using Svelte. Prior to versions 2.70.4 and 3.1.1, apps configured with router.resolution: 'server' could treat a pathname beginning with // as a protocol-relative module specifier during client-side navigation. A socially engineered link could therefore make server-side route resolution import and execute JavaScript from another origin in the user's browser. This issue is fixed in 2.70.4 and 3.1.1. | |
| Title | SvelteKit: Protocol-relative module import during server-side route resolution allows cross-origin script execution | |
| Weaknesses | CWE-79 | |
| References |
|
|
| Metrics |
cvssV3_1
|