Gin Admin Theme
A logged in user could place hidden scripts into the management pages. They could uncover some private details and change certain text but they could not destroy the whole database.
- Who could do thisOnly someone with a login on your site.
- Does it apply to youA site is affected if a user has the access right to manage menus or enter specific web code.
- 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 Gin Admin Theme to 4.1.4 or 5.0.16, whichever branch you are on.
For developers: what the fix changed
The fix modifies Drupal.theme.ginTooltipWrapper in js/tooltip.js and its compiled version in dist/js/tooltip.js to create a DOM element and set its text content instead of returning an HTML string, preventing cross site scripting.
Also in this release Updated an ID in the toolbar template to accommodate a refactor in the admin toolbar search module.
dist/js/tooltip.js+7 −3 fixjs/tooltip.js+15 −5 fixtemplates/navigation/toolbar--gin.html.twig+1 −0