Skip to content

Releases: getgrav/grav

2.0.0-rc.1

04 May 17:08
2.0.0-rc.1
1f83c8b

Choose a tag to compare

2.0.0-rc.1 Pre-release
Pre-release
RC release

2.0.0-beta.4

29 Apr 17:53
2.0.0-beta.4
07751dc

Choose a tag to compare

2.0.0-beta.4 Pre-release
Pre-release
Release v2.0.0-beta.4

1.7.52

29 Apr 17:48
1.7.52
f17d903

Choose a tag to compare

Release v1.7.52

2.0.0-beta.3

28 Apr 11:51
2.0.0-beta.3
37a23e1

Choose a tag to compare

2.0.0-beta.3 Pre-release
Pre-release

Improved

  • Twig sandbox is now the sole layer of SSTI protection on editor-authored content — the legacy regex pre-filter has been retired. With the sandbox stable in beta.2 (allowlist-based Twig\Sandbox\SecurityPolicy covering tags / filters / functions / methods / properties), the security.twig_filter.* blacklist + whitelist that pre-dated it served only as a logging fallback when the sandbox was disabled. Removed across the board: blueprint section + 6 fields (twig_filter.enabled, logging, admin_hint, whitelist.{functions,filters,properties}); the twig_filter: block in system/config/security.yaml; Security::cleanDangerousTwig() / cleanDangerousTwigWithStatus() / getDangerousTwigPatterns(); the CALLABLE_DANGEROUS_NAMES and INTROSPECTION_NAMES constants and their compiled-pattern caches; Security::logTwigBlock() / twigWhitelistHint() and the per-request dedup map; the three Twig::process{Page,String,Site} call sites that used to wrap content in the regex pass before handing it to Twig; and tests/unit/Grav/Common/Security/CleanDangerousTwigTest.php. The sandbox remains toggleable via security.twig_sandbox.enabled for sites that genuinely need container access from page content; the toggle now ships with an explicit warning that disabling it removes the only SSTI protection on editor-authored content. The admin-hint comment Twig appended after a filtered render moves with the rename: appendTwigFilterAdminHintappendSandboxAdminHint, reading from the new security.twig_sandbox.admin_hint config (default true). Net effect: a single, clean enforcement layer; ~350 fewer lines of regex; one config story to document; the sandbox is what catches a violation, the sandbox is what logs it. No upgrade action needed — security.twig_filter.* keys in user yaml are silently ignored.

Bugfix

  • Fixed selectize field optionally able to store keys

1.7.51

28 Apr 13:50
1.7.51
c83810d

Choose a tag to compare

Release v1.7.51

2.0.0-beta.2

25 Apr 16:52
2.0.0-beta.2
3077b04

Choose a tag to compare

2.0.0-beta.2 Pre-release
Pre-release

Summary

  • Twig content sandbox — page content authored in the editor now renders through a Twig sandbox with allowlisted tags / filters / functions / methods / properties, blocking the SSTI class of attacks. Theme templates are unaffected.
  • Admin UI for the sandbox — new "Twig Sandbox" section under Configuration → Security with toggles and editable allowlists; can be disabled wholesale if a site needs the old unrestricted behaviour.
  • Dedicated logs/security.log — every blocked Twig expression is logged with the page route and a pointer to the exact setting to change.
  • Soft-fail on sandbox violations — the rest of the page still renders, visitors see a small placeholder, admins get a hint to the log entry.
  • Smarter dangerous-Twig filter — fewer false positives (e.g. {{ page.header.user.mail }} no longer flagged just because it contains "mail").
  • Major security hardening pass — fixes for ten advisories shipped together:

2.0.0-beta.1

16 Apr 16:39
26a2d51

Choose a tag to compare

2.0.0-beta.1 Pre-release
Pre-release

New

  • Rebrand 1.8-beta as 2.0-beta
  • NEW Quark2 theme fro Grav 2.0
  • NEW Migrate Grav plugin required to get from 1.x to 2.0
  • NEW API support plugin support required for Admin2
  • NEW Admin2 is the new default Admin for Grav 2.0
  • Moved to Github Markdown Alerts over Markdown Notices

1.8.0-beta.29

28 Dec 02:53
1.8.0-beta.29
07de0cb

Choose a tag to compare

1.8.0-beta.29 Pre-release
Pre-release

Improved

  • Avoid mail in twig content trigger security error
  • Don’t do internal grav-based gzip, rely on webserver
  • Updated vendor libs

Bugfix

  • Fix for grav not picking up config + page changes
  • Fix for unusual format SVGs
  • Fix for nested config changes
  • Fix for user editing causing hashed_password to be removed
  • Fix of setEscaper move in Twig 3.9+
  • Fix for broken symlinks

1.8.0-beta.28

09 Dec 03:47
1.8.0-beta.28
7a6b8a9

Choose a tag to compare

1.8.0-beta.28 Pre-release
Pre-release
beta release

1.8.0-beta.27

30 Nov 23:18
0f879bd

Choose a tag to compare

1.8.0-beta.27 Pre-release
Pre-release
prepare for beta.27 release

Signed-off-by: Andy Miller <rhuk@mac.com>