GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GHSA-vvmr-8829-6whxhigh8.1

CSRF token missing in Symfony

Check your stack

The advisory, in context

Description

The Symfony form component provides a CSRF protection mechanism by using a random token injected in the form and using the session to store and control the token submitted by the user. When using the FrameworkBundle, this protection can be enabled or disabled with the configuration. If the configuration is not specified, by default, the mechanism is enabled as long as the session is enabled.

In a recent change in the way the configuration is loaded, the default behavior has been dropped and, as a result, the CSRF protection is not enabled in form when not explicitly enabled, which makes the application sensible to CSRF attacks.

Resolution

Symfony restored the default configuration to enable the CSRF protection by default.

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

Credits

We would like to thank Catalin Dan and David Lochner for reporting the issue and Jérémy Derussé for fixing the issue.

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

Ecosystem versions

From 5.3.14 before 5.3.15

Fixed in 5.3.15

2 explicitly affected versions

5.3.14, v5.3.14

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "5.3.14"
        },
        {
          "fixed": "5.3.15"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "5.3.14",
    "v5.3.14"
  ]
}
Ecosystem versions

From 5.4.3 before 5.4.4

Fixed in 5.4.4

2 explicitly affected versions

5.4.3, v5.4.3

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "5.4.3"
        },
        {
          "fixed": "5.4.4"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "5.4.3",
    "v5.4.3"
  ]
}
Ecosystem versions

From 6.0.3 before 6.0.4

Fixed in 6.0.4

2 explicitly affected versions

6.0.3, v6.0.3

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "6.0.3"
        },
        {
          "fixed": "6.0.4"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "6.0.3",
    "v6.0.3"
  ]
}

References