CSV Importer
The module does not properly check certain requests to the server. Anyone without logging in could trick a logged in user into performing actions they did not intend to do. They could not view any hidden data but could change or add information on the site.
- Who could do thisAnyone visiting the site. No login needed.
- Does it apply to youAny site using this module.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate CSV Importer to 8.x-2.5.
For developers: what the fix changed
Adds a CSRF token requirement to the `csv_importer.revert` route in `csv_importer.routing.yml` and generates the token for the revert URL in `HistoryController.php`.
Also in this release Adds entity and field access checks to ensure users have permission to create, update, or delete entities during import and revert operations, alongside test and documentation updates.
README.md+17 −0csv_importer.routing.yml+1 −0 fixsrc/Controller/HistoryController.php+40 −6 fixsrc/Plugin/ImporterBase.php+151 −3