Quick Edit
The module does not properly clean up details about images when someone edits a page. A person with a standard account could use this to view private information. They could also change existing details or add new information to the site.
- Who could do thisOnly someone with a login on your site.
- Does it apply to youThis applies if a user has the access right to create or edit an affected piece of content.
- 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 Quick Edit to 2.0.1 or 1.0.5, whichever branch you are on.
For developers: what the fix changed
The fix wraps the `settings.alt` and `settings.title` values with `Drupal.checkPlain()` in the image editing dialog templates within `js/theme.es6.js`, `js/theme.image.es6.js`, and their compiled counterparts. This ensures the values are properly sanitised to prevent cross-site scripting.
Also in this release The release also updated the GitLab CI configuration to remove a spellcheck ignore paths variable.
.gitlab-ci.yml+0 −1js/theme.es6.js+6 −6 fixjs/theme.image.es6.js+4 −4 fixjs/theme.image.js+3 −3 fixjs/theme.js+3 −3 fix