Skip to content

Twig sandbox policy restricts important filter #12

@vladko312

Description

@vladko312

Twig Sandbox policy does not include escape filter which is used internally for autoescaping. Because of that, payloads other than simple literals will not work.
For example:

  • {{49}} - works
  • {{7*7}} - error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions