Skip to content

Commit

Permalink
Merge pull request #885 from oslokommune/fix-xss
Browse files Browse the repository at this point in the history
Don't render HTML in tooltips
  • Loading branch information
simenheg authored Oct 9, 2023
2 parents 724bc3b + 3ffac74 commit dab07b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ All notable changes to this project will be documented in this file. The format
- The admin panel tab has been completely removed from the item tab bar (all
functionality moved to drawers).

### Security

- Fixed an XSS issue with the rendering of tooltips.

## [3.9.0] 2023-09-01

### Added
Expand Down
4 changes: 3 additions & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ Vue.use(Toasted, {
className: 'toast',
duration: 3500,
});
Vue.use(VTooltip);
Vue.use(VTooltip, {
defaultHtml: false,
});
Vue.use(VueMeta);
Vue.use(firestorePlugin);
Vue.use(VueFlatPickr);
Expand Down

0 comments on commit dab07b6

Please sign in to comment.