Twig Html Extra
Monthly
Information disclosure in Twig's html-extra package (twig/html-extra) allows a sandboxed template to print the private and protected properties of objects already present in the template context, or to read template-chosen offsets from ArrayAccess objects, by passing those objects as variant values or variant maps to html_cva() and then calling Cva::apply(). Affected versions are 3.12.0 through 3.31.0; exploitation additionally requires a sandbox SecurityPolicy that explicitly allows the html_cva function and the apply method of Twig\Extra\Html\Cva, and an attacker able to author the template source - conditions that are not part of the default sandbox configuration. Severity is low (CVSS 2.3), impact is confined to disclosure of data already supplied to the template with no write, execution or availability effect, and no public exploit was identified at time of analysis; fixed in 3.31.1.
Information disclosure in Twig's html-extra package (twig/html-extra) allows a sandboxed template to print the private and protected properties of objects already present in the template context, or to read template-chosen offsets from ArrayAccess objects, by passing those objects as variant values or variant maps to html_cva() and then calling Cva::apply(). Affected versions are 3.12.0 through 3.31.0; exploitation additionally requires a sandbox SecurityPolicy that explicitly allows the html_cva function and the apply method of Twig\Extra\Html\Cva, and an attacker able to author the template source - conditions that are not part of the default sandbox configuration. Severity is low (CVSS 2.3), impact is confined to disclosure of data already supplied to the template with no write, execution or availability effect, and no public exploit was identified at time of analysis; fixed in 3.31.1.