symfony/dom-crawler vulnerabilities

Eases DOM navigation for HTML and XML documents

Registry
Composer
Latest
8.1.10
License
MIT

1 known advisory

The latest version, 8.1.10, is not affected by any of them. Projects on older versions may be.

Update to the latest version:composer require symfony/dom-crawler:^8.1.10

Is your project on an affected symfony/dom-crawler?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for symfony/dom-crawler

  • LowCVE-2026-45071GHSA-x6g4-fwcc-jj8w27 May 2026

    Symfony has XXE (Local File Disclosure) in DomCrawler::addXmlContent() via validateOnParse = true

    Affected
    <5.4.52 · >=6.0.0 <6.4.40 · >=7.0.0 <7.4.12 · >=8.0.0 <8.0.12
    Fixed in
    5.4.52, 6.4.40, 7.4.12, 8.0.12

Is your symfony/dom-crawler version vulnerable?

Which of your client projects still run an old symfony/dom-crawler?

NPMscan reads the composer.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Composer packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Composer registry.