VDB
Sign up
LOW3.7

GHSA-vxrc-68xx-x48g

Twig Sandbox Information Disclosure

Quick fix

GHSA-vxrc-68xx-x48g — twig/twig: upgrade to the fixed version with the command below.

composer require twig/twig:^1.38.0

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/twig/twig
Introduced in: 0Fixed in: 1.38.0
Fixcomposer require twig/twig:^1.38.0
Packagist/twig/twig
Introduced in: 2.0.0Fixed in: 2.7.0
Fixcomposer require twig/twig:^2.7.0

References