# CSV Injection in symfony/serializer

Advisory record · `GHSA-2xhg-w2g5-w95x`

- **Identifiers:** `GHSA-2xhg-w2g5-w95x` · `BIT-symfony-2021-41270` · `CVE-2021-41270` · `PKSA-s1hc-69wj-fhpp` · `PKSA-t1qj-5z4b-g31v`
- **State:** Confirmed
- **Severity:** CVSS 6.5 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-1236](https://cwe.mitre.org/data/definitions/1236.html)
- **Tags:** [Other injection](https://agentprime.io/advisories/tag/injection.md)
- **Published:** 24 Nov 2021
- **Updated:** 8 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 24 Nov 2021, 21:01 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `symfony/serializer` (Packagist): affected `>=5.0.0, <5.3.12 || >=4.1.0, <4.4.35`; fixed in `5.3.12`, `4.4.35`
- `symfony/symfony` (Packagist): affected `>=4.1.0, <4.4.35 || >=5.0.0, <5.3.12`; fixed in `4.4.35`, `5.3.12`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.5 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.014, the 73rd percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 24 Nov 2021. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-2xhg-w2g5-w95x](https://github.com/advisories/GHSA-2xhg-w2g5-w95x)
- [OSV: GHSA-2xhg-w2g5-w95x](https://osv.dev/vulnerability/GHSA-2xhg-w2g5-w95x)
- <https://github.com/symfony/symfony/security/advisories/GHSA-2xhg-w2g5-w95x>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-41270>
- <https://github.com/symfony/symfony/pull/44243>
- <https://github.com/symfony/symfony/commit/3da6f2d45e7536ccb2a26f52fbaf340917e208a8>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/serializer/CVE-2021-41270.yaml>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2021-41270.yaml>
- <https://github.com/symfony/symfony>
- <https://github.com/symfony/symfony/releases/tag/v5.3.12>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3BPT4SF6SIXFMZARDWED5T32J7JEH3EP>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QSREFD2TJT5LWKM6S4MD3W26NQQ5WJUP>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3BPT4SF6SIXFMZARDWED5T32J7JEH3EP>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QSREFD2TJT5LWKM6S4MD3W26NQQ5WJUP>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-2xhg-w2g5-w95x>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-2xhg-w2g5-w95x/>. Everything for agents: <https://agentprime.io/llms.txt>.
