putyourlightson/craft-sprig · Security

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

GHSA ID
GHSA-m59h-42jf-cphr
CVE ID
CVE-2026-27131
Severity
medium
Published
Updated
CVSS
5.5 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N
CVSS v3
5.5 · CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:N

Description

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:

CWEs

References