Security mailing lists by PureSourceCode

CVE-2026-133769

LOW 2.3CVSS 4.0

Sandbox property allow-list bypass via `html_cva()` variant values

Cva::apply() converted the values of variants, default variants and compound variants with (array). These values come from the arguments of html_cva(). A sandboxed template could therefore pass any object of its context, and print the private and protected properties of that object:

{{ html_cva('base', {c: {p: user}}).apply({c: 'p'}) }}

Variant maps that are ArrayAccess objects were also read with a key that the template chooses, without the property check of the sandbox. The template then printed the offsets that the object returned.

Applications are affected when the sandbox allows the html_cva function and the apply method of Twig\Extra\Html\Cva.

A value that isn't an array is now treated as a single item, so objects are dropped and never match a variant. Variant maps are also only used when they're arrays.

Published
24 Nov 2026
Last modified
1 Dec 2026
Assigned by
b5aa5c7f-767d-4597-9c64-3ac08b8711c6
NVD status
Awaiting Analysis
Weakness
CWE-863
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD b5aa5c7f-767d-4597-9c64-3ac08b8711c6 (Secondary) CVSS 4.0 LOW 2.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List Symfony CVSS 4.0 LOW 2.3 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://packagist.org twig/html-extra >= 3.12.0, < 3.31.1 3.31.1

References

History

  • 1 Dec 2026 20:28 UTC · CVE List: updated (other details)
  • 1 Dec 2026 20:28 UTC · NVD: updated (other details)
  • 25 Nov 2026 20:36 UTC · CVE List: first stored (published 24 Nov 2026)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 24 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.