Coffee
The module does not properly clean up web addresses when displaying them in the search box. An administrator account could add malicious scripts that run in the browser. This could allow them to view hidden data or change information on the site.
- Who could do thisOnly someone with an administrator login.
- Does it apply to youA site is affected if a user has the access right to administer menus and menu links.
- 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 Coffee to 2.0.2 or 8.x-1.5, whichever branch you are on.
For developers: what the fix changed
The fix strips dangerous protocols from URLs and escapes labels in src/Controller/CoffeeController.php and updates js/coffee.js to safely render the description as text.
Also in this release The release updates the API documentation and example hook in coffee.api.php to include access checks.
coffee.api.php+21 −1js/coffee.js+5 −1 fixsrc/Controller/CoffeeController.php+6 −0 fix