Changelog (v3.31.0...v3.31.1)
- bug #5049 Fix arrow functions in the parent expression of
extendsandembedtags (@nicolas-grekas) - bug #5047 Check the sandbox policy before the cache tag coerces its key and tags to strings (@fabpot)
- bug #5046 Include the autoescape strategy and always-allowed sandbox registrations in compiled template keys (@fabpot)
- security #cve-2026-133773 Limit the number of converters kept by html_to_markdown (@nicolas-grekas)
- security #cve-2026-133766 Check __toString() on spread arguments in the sandbox (@nicolas-grekas)
- security #cve-2026-133763 Check __toString() on the result of tests in the sandbox (@fabpot)
- security #cve-2026-133764 Check __toString() on the input of tests in the sandbox (@fabpot)
- security #cve-2026-133767 Check the sandbox policy against dynamic embed parent expressions (@fabpot)
- security #cve-2026-133770 Prevent sandboxed templates from calling the Markup constructor (@fabpot)
- security #cve-2026-133769 Stop html_cva from exposing the properties of objects used as classes (@fabpot)
- security #cve-2026-133765 Check __toString() on the result of assignment expressions in the sandbox (@fabpot)
- security #cve-2026-133768 Stop the join filter from exposing the properties of non-iterable objects (@fabpot)