Advisory

GHSA-xw83-pwrm-9j74

Also known as: CVE-2015-7809

Summary

Twig remote code execution in templates

Details

The displayBlock function Template.php in Sensio Labs Twig before 1.20.0, when Sandbox mode is enabled, allows remote attackers to execute arbitrary code via the _self variable in a template.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-14 02:03 UTC
Modified
2024-05-30 13:26 UTC

Affected packages and fixes

twig/twig

Packagist · All systems

Affected

  • introduced 0, fixed 1.20.0 (ecosystem)

Fixed versions

1.20.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences