Repository navigation
Release v1.2.0
Release v1.2.0: security fixes (see CHANGELOG/UPGRADING).
Changelog
Security
- Admin CRUD routes are now actually guarded: the admin access subscriber was never registered in real applications (the
services.yamlexclusion left a placeholder definition that short-circuitedContactFormSecurityPass), sosecurity.access_roles/ custom access checkers were not enforced on admin routes. Keep hostaccess_controlonadmin_route_prefixas defence in depth. - Admin CRUD routes now return 404 when
web_ui.enabled: false, even if the bundleroutes.yamlis imported (previously they were served with no access check). - Rich-text sanitizer (consent labels, rendered with
label_html): markup nested inside an unwrapped disallowed element (e.g.<p><img src=x onerror=alert(1)></p>) is now sanitized too; previously it survived unchanged (XSS).
Fixed
public_submission_rate_limit(enabled by default) now receivescache.app; it was silently disabled in real applications because the extension could not see FrameworkBundle services while loading.- The mailer notifier (
notifications.mailer.enabled) is registered whenmailer.mailer/mailerexists (decided in a compiler pass); previously the null notifier was always used. SecurityClientResolvernow receivessecurity.token_storagewhen SecurityBundle is installed, so submissions are linked to the authenticated client again.- The bundle no longer replaces FrameworkBundle's
clockservice with its ownNativeClock(which brokeMockClock/Clock::set()in tests); a fallbackclockis only defined when the application has none.
Full Changelog: v1.1.3...v1.2.0