Cover of the book Symfony 5: The Fast Track

Symfony 5: The Fast Track is the best book to learn modern Symfony development, from zero to production. +300 pages in full color showing how to combine Symfony with Docker, APIs, queues & async tasks, Webpack, Single-Page Applications, etc.

Buy printed version

CVE-2019-11325: Fix escaping of strings in VarExporter

Affected versions

Symfony 4.2.0 to 4.2.11 and 4.3.0 to 4.3.7 versions of the Symfony VarExporter component are affected by this security issue.

The issue has been fixed in Symfony 4.2.12 and 4.3.8.


Some strings were not properly escaped when being dumped by the VarExporter component. The VarExporter is notably used by the Symfony Cache Component PhpFilesAdapter and PhpArrayAdapter adapters.


The escaping logic has been fixed to work for any strings.

The patch for this issue is available here for branch 4.2.


I would like to thank Seung Woo Yuk (xtac) for reporting & Nicolas Grekas for identifying & fixing the issue.

Manage your notification preferences to receive an email as soon as a Symfony security release is published.
If you have found a security issue in Symfony, please send the details to security [at] and don't disclose it publicly until we can provide a fix for it.

CVE-2019-11325: Fix escaping of strings in VarExporter

Tweet this


Comments are closed.

To ensure that comments stay relevant, they are closed for old posts.