Update dependency symfony/dom-crawler to v6.4.40 [SECURITY]#260
Open
renovate[bot] wants to merge 1 commit into
Open
Update dependency symfony/dom-crawler to v6.4.40 [SECURITY]#260renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
6.4.19→6.4.40Symfony has XXE (Local File Disclosure) in DomCrawler::addXmlContent() via validateOnParse = true
CVE-2026-45071 / GHSA-x6g4-fwcc-jj8w
More information
Details
Description
symfony/dom-crawlerprovides theCrawlerclass for navigating HTML/XML documents with CSS/XPath selectors;symfony/browser-kit'sHttpBrowseruses it to parse fetched pages.Crawler::addXmlContent()setsDOMDocument::$validateOnParse = truebefore callingloadXML(). SettingvalidateOnParsere-enables libxml's DTD subset processing, including external entity resolution, even thoughLIBXML_NONETis passed.LIBXML_NONETblocks network fetches but notfile://entities. An attacker-supplied XML document with aSYSTEM "file:///etc/passwd"entity is therefore expanded.Resolution
The
Crawler::addXmlContentmethod does not set thevalidateOnParseflag anymore.The patch for this issue is available here for branch 5.4.
Credits
Symfony would like to thank Claude Mythos Preview (via Project Glasswing) for reporting the issue and providing the fix.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:UReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
symfony/dom-crawler (symfony/dom-crawler)
v6.4.40Compare Source
Changelog (symfony/dom-crawler@v6.4.23...v6.4.40)
ChoiceFormField::addChoice()clobbering values on multi-selects (@nicolas-grekas)validateOnParse(@alexandre-daubois)v6.4.34Compare Source
Changelog (symfony/dom-crawler@v6.4.33...v6.4.34)
v6.4.32Compare Source
Changelog (symfony/dom-crawler@v6.4.31...v6.4.32)
v6.4.25Compare Source
Changelog (symfony/dom-crawler@v6.4.24...v6.4.25)
v6.4.24Compare Source
Changelog (symfony/dom-crawler@v6.4.23...v6.4.24)
v6.4.23Compare Source
Changelog (symfony/dom-crawler@v6.4.22...v6.4.23)
buttons by theirvalue(@MatTheCat)Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.