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-f6rx-hf55-4255medium6.1

Sulu vulnerable to XXE in SVG File upload Inspector

Check your stack

The advisory, in context

Impact

A admin user can upload SVG which may load external data via XML DOM library, specially this can be used for eventually reference none secure XML External Entity References.

Patches

The problem has not been patched yet. Users should upgrade to patched versions once they become available. Currently affected versions are:

  • 2.6.9
  • 2.5.25
  • 3.0.0-alpha3

Workarounds

Patch the effect file src/Sulu/Bundle/MediaBundle/FileInspector/SvgFileInspector.php in sulu with:

-$dom->loadXML($svg, \LIBXML_NOENT | \LIBXML_DTDLOAD);
+$dom->loadXML($data, LIBXML_NONET);

References

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.

sulu/sulu Packagist
Ecosystem versions

From 2.5.21 before 2.5.25

Fixed in 2.5.25

4 explicitly affected versions

2.5.21, 2.5.22, 2.5.23, 2.5.24

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "2.5.21"
        },
        {
          "fixed": "2.5.25"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "2.5.21",
    "2.5.22",
    "2.5.23",
    "2.5.24"
  ]
}
sulu/sulu Packagist
Ecosystem versions

From 2.6.5 before 2.6.9

Fixed in 2.6.9

4 explicitly affected versions

2.6.5, 2.6.6, 2.6.7, 2.6.8

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "2.6.5"
        },
        {
          "fixed": "2.6.9"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "2.6.5",
    "2.6.6",
    "2.6.7",
    "2.6.8"
  ]
}
sulu/sulu Packagist
Ecosystem versions

From 3.0.0-alpha1 before 3.0.0-alpha3

Fixed in 3.0.0-alpha3

2 explicitly affected versions

3.0.0-alpha1, 3.0.0-alpha2

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "3.0.0-alpha1"
        },
        {
          "fixed": "3.0.0-alpha3"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "3.0.0-alpha1",
    "3.0.0-alpha2"
  ]
}

References