Vulnerability · Published Mar 23, 2026 · Assigned by GitHub_M
CVE-2026-27131Sprig Plugin for Craft CMS potentially discloses sensitive information via Sprig Playground
Medium 5.5
In plain English
A medium-severity information exposure in craft-sprig from putyourlightson. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
The Sprig Plugin for Craft CMS is a reactive Twig component framework for Craft CMS. Starting in version 2.0.0 and prior to versions 2.15.2 and 3.15.2, admin users, and users with explicit permission to access the Sprig Playground, could potentially expose the security key, credentials, and other sensitive configuration data, in addition to running the `hashData()` signing function. This issue was mitigated in versions 3.15.2 and 2.15.2 by disabling access to the Sprig Playground entirely when `devMode` is disabled, by default. It is possible to override this behavior using a new `enablePlaygroundWhenDevModeDisabled` that defaults to `false`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | putyourlightson/craft-sprig | 2.15.2 | GHSA-m59h-42jf-cphr |
| Packagist | putyourlightson/craft-sprig | 3.7.2 | GHSA-m59h-42jf-cphr |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| putyourlightson | craft-sprig | >= 3.0.0, < 3.15.2>= 2.0.0, < 2.15.2 |
Weakness: CWE-200, CWE-489 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
References
- https://github.com/putyourlightson/craft-sprig/security/advisories/GHSA-m59h-42jf-cphr x_refsource_CONFIRM
- https://github.com/putyourlightson/craft-sprig/commit/09c9da2ffb45a8857829f3390ae2578e26cfe03b x_refsource_MISC
- https://github.com/putyourlightson/craft-sprig/commit/db18c46f6dc5603828aa321a3a615adbd677d475 x_refsource_MISC