What’s Vulnerable › Vulnerabilities

CVE-2019-9942

Description

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 products

How to fix

Upgrade to a fixed version: twigphp Twig 1.38.0, 2.7.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2019-9942 or the next vulnerability affects your stack