Intel

AIKIDO-2025-10242

putyourlightson/craft-sprig is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS) Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 17, 2025

15

Low Risk

This Affects:

PHPputyourlightson/craft-sprig
2.0.0 - 2.13.1
Fixed in 2.14.0
3.0.0 - 3.5.2
Fixed in 3.6.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to cross-site scripting (XSS) due to unsanitized output in the Sprig Playground component template. This has been addressed by rendering the component within a sandboxed context.

Who does this affect?

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

Background info

putyourlightson/craft-sprig is vulnerable to Cross-site Scripting (XSS) in versions 2.0.0 - 2.13.1 and 3.0.0 - 3.5.2.

How to fix this

Upgrade the putyourlightson/craft-sprig library to the patch version.