---
title: "GHSA-mmcv-fvq8-r9x3: Symfony XML decoding attack vector through external entities"
url: https://erroneo.us/security/ghsa/GHSA-mmcv-fvq8-r9x3/
description: "GHSA-mmcv-fvq8-r9x3 (critical, Composer (PHP)): Symfony XML decoding attack vector through external entities. The XMLEncoder component of Symfony 2.0.x…"
type: advisory
section: "Security Digest"
date_published: 2024-05-30
date_modified: 2024-05-30
publisher: erroneo.us
author: erroneo.us Security Desk
ghsa: "GHSA-mmcv-fvq8-r9x3"
license: All rights reserved. Quote with attribution and a link.
---

# GHSA-mmcv-fvq8-r9x3: Symfony XML decoding attack vector through external entities

## Affected packages

- Composer (PHP) `symfony/symfony` >= 2.0.0, < 2.0.11 → fixed: 2.0.11

## Details

The XMLEncoder component of Symfony 2.0.x fails to disable external entities when parsing XML. In the Symfony2 framework the XML class may be used to deserialize objects or as part of a client/server API. By using external entities it is possible to include arbitrary files from the file system.

## Sources

- [GitHub Advisory GHSA-mmcv-fvq8-r9x3](https://github.com/advisories/GHSA-mmcv-fvq8-r9x3)
- [github.com](https://github.com/symfony/symfony/commit/3e64d36cbdc34acaa82e0e6318112cd2eacb6fec)
- [github.com](https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/2012-02-24.yaml)
- [symfony.com](https://symfony.com/blog/security-release-symfony-2-0-11-released)

---
Source page: https://erroneo.us/security/ghsa/GHSA-mmcv-fvq8-r9x3/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
