diff --git a/CHANGELOG.md b/CHANGELOG.md index db13153..7af4974 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ CHANGELOG =================== +## v2.12.2 - (2026-08-05) +### BC BREAK +- The login form now submits a CSRF token. You must enable `enable_csrf: true` on the `form_login` of the admin firewall in your `security.yaml` config, otherwise authentication will fail. + +### Fixed +- `templates/security/login.html.twig` Add missing CSRF token on login form to fix CWE-352 +- `templates/empty_layout.html.twig` Add missing `integrity`/`crossorigin` attributes on the Iconify CDN script to fix CWE-345 +- `templates/admin/documentation/markdown.html.twig` Pin `marked` CDN script to a fixed version and add `integrity`/`crossorigin` attributes to fix CWE-345 + ## v2.12.1 - (2026-05-19) ### Removed - Removed redundant Composer dependencies duplicated from `smartbooster/core-bundle` diff --git a/templates/admin/documentation/markdown.html.twig b/templates/admin/documentation/markdown.html.twig index 0210fab..74df242 100644 --- a/templates/admin/documentation/markdown.html.twig +++ b/templates/admin/documentation/markdown.html.twig @@ -67,7 +67,7 @@ {% block javascripts %} {{ parent() }} - + + {% endblock %} {% block sonata_wrapper %} diff --git a/templates/security/login.html.twig b/templates/security/login.html.twig index 07ca66b..e0414ac 100644 --- a/templates/security/login.html.twig +++ b/templates/security/login.html.twig @@ -15,6 +15,7 @@