CVE-2026-27121

MEDIUM CVSS 4.0: 5.1 EPSS 0.22%
Updated Feb 20, 2026
svelte
Parameter Value
CVSS 5.1 (MEDIUM)
Affected Versions before 5.51.5
Fixed In 5.51.5
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor svelte
Public PoC No

svelte performance oriented web framework. Versions of svelte prior to 5.51.5 are vulnerable to cross-site scripting (XSS) during server-side rendering. When using spread syntax to render attributes from untrusted data, event handler properties are included in the rendered HTML output.

If an application spreads user-controlled or external data as element attributes, an attacker can inject malicious event handlers that execute in victims' browsers. This vulnerability is fixed in 5.51.5.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0