ADVISORIES

GitHub Advisory Database

GHSA-vxrc-68xx-x48g

Twig Sandbox Information Disclosure

Details

A sandbox information disclosure exists in Twig before 1.38.0 and 2.x before 2.7.0 because, under some circumstances, it is possible to call the __toString() method on an object even if not allowed by the security policy in place.

Affected packages

EcosystemPackageAffected versions
Packagisttwig/twig
All versions before 1.38.0 (fixed in 1.38.0)
Packagisttwig/twig
From 2.0.0 before 2.7.0 (fixed in 2.7.0)

References