p PatchFirst

CVE-2025-47778

CVE-2025-47778 · Sulu vulnerable to XXE in SVG File upload Inspector

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Sulu is an open-source PHP content management system based on the Symfony framework. Starting in versions 2.5.21, 2.6.5, and 3.0.0-alpha1, an admin user can upload SVG which may load external data via XML DOM library. This can be used for insecure XML External Entity References. The problem has been patched in versions 2.6.9, 2.5.25, and 3.0.0-alpha3. As a workaround, one may patch the effect file `src/Sulu/Bundle/MediaBundle/FileInspector/SvgFileInspector.php` manually.

CVSS 6.1 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: php

Affected products and versions

  • sulu

    Versions
    • >= 2.5.21, < 2.5.25: Affected
    • >= 2.6.5, < 2.6.9: Affected
    • >= 3.0.0-alpha1, < 3.0.0-alpha3: Affected

    No fix published

  • sulu/sulu Packagist

    Versions
    • 2.5.21
    • 2.5.22
    • 2.5.23
    • 2.5.24
    Affected ranges
    • ECOSYSTEM: ≥ 2.5.21, < 2.5.25

    Update to 2.5.25

  • sulu/sulu Packagist

    Versions
    • 2.6.5
    • 2.6.6
    • 2.6.7
    • 2.6.8
    Affected ranges
    • ECOSYSTEM: ≥ 2.6.5, < 2.6.9

    Update to 2.6.9

  • sulu/sulu Packagist

    Versions
    • 3.0.0-alpha1
    • 3.0.0-alpha2
    Affected ranges
    • ECOSYSTEM: ≥ 3.0.0-alpha1, < 3.0.0-alpha3

    Update to 3.0.0-alpha3

Original sources

Check your server →