CVE-2026-27131
MEDIUM 5.5CVSS 3.1Sprig Plugin for Craft CMS potentially discloses sensitive information via Sprig Playground
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.
- Published
- 23 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-200CWE-489
- Also known as
- GHSA-m59h-42jf-cphr
- Sources
- NVDJSONOSV GHSA-m59h-42jf-cphrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | putyourlightson/craft-sprig | >= 2.0.0, < 2.15.2 | 2.15.2 |
| OSV | Packagist | putyourlightson/craft-sprig | >= 3.0.0, < 3.7.2 | 3.7.2 |
References
- https://github.com/putyourlightson/craft-sprig/commit/09c9da2ffb45a8857829f3390ae2578e26cfe03b · WEB
- https://github.com/putyourlightson/craft-sprig/commit/db18c46f6dc5603828aa321a3a615adbd677d475 · WEB
- https://github.com/putyourlightson/craft-sprig/security/advisories/GHSA-m59h-42jf-cphr · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-27131 · ADVISORY
- https://github.com/putyourlightson/craft-sprig · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 23 Mar 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 23 Mar 2026)