Advisory

GHSA-m59h-42jf-cphr

Also known as: CVE-2026-27131

Summary

Sprig Plugin for Craft CMS potentially discloses sensitive information via Sprig Playground

Details

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.7.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 behaviour using a new enablePlaygroundWhenDevModeDisabled that defaults to false.

References:

  • https://github.com/putyourlightson/craft-sprig/commit/db18c46f6dc5603828aa321a3a615adbd677d475
  • https://github.com/putyourlightson/craft-sprig/commit/09c9da2ffb45a8857829f3390ae2578e26cfe03b

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-03-23 20:25 UTC
Modified
2026-03-30 14:07 UTC

Affected packages and fixes

putyourlightson/craft-sprig

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.15.2 (ecosystem)

Fixed versions

2.15.2

Fix

The export has no generic command for this ecosystem.

putyourlightson/craft-sprig

Packagist · All systems

Affected

  • introduced 3.0.0, fixed 3.7.2 (ecosystem)

Fixed versions

3.7.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences