Intel

AIKIDO-2026-10221

payload is vulnerable to Cross-Site Scripting

Cross-Site Scripting Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Feb 22, 2026

45

Medium Risk

This Affects:

JSpayload
0.0.1 - 3.76.0
Fixed in 3.76.1
Are you affected? Scan for Free

TL;DR

Affected versions of this package are vulnerable to cross-site scripting (XSS) via malicious SVG uploads because uploaded SVG files could be served without restrictive content security headers, allowing embedded scripts to execute in contexts such as the admin panel. The issue is mitigated by adding Content-Security-Policy (CSP) headers to all SVG uploads in core and storage adapters, which prevents execution of inline scripts in SVG content by default and reduces the risk of “SVG smuggling”-style attacks. This defensive layer complements existing SVG validation and gives developers additional assurance that untrusted SVGs won’t execute script in browsers.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

payload is vulnerable to Cross-Site Scripting in versions 0.0.1 - 3.76.0.

How to fix this

Upgrade the payload library to the patch version.