Skip to content
Permalink
Browse files Browse the repository at this point in the history
Fixed an XSS vulnerability
  • Loading branch information
brandonkelly committed Apr 30, 2021
1 parent 413d09c commit f9378aa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,9 @@
### Fixed
- Fixed a bug where Matrix fields’ Configuration settings weren’t expanding when nested field settings got taller. ([#7827](https://github.com/craftcms/cms/issues/7827))

### Security
- Fixed an XSS vulnerability.

## 3.6.12.1 - 2021-04-29

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/js/Craft.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/dist/js/Craft.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/src/js/FieldLayoutDesigner.js
Expand Up @@ -223,7 +223,7 @@ Craft.FieldLayoutDesigner = Garnish.Base.extend({
},

promptForTabName: function(oldName) {
return prompt(Craft.t('app', 'Give your tab a name.'), oldName);
return Craft.escapeHtml(prompt(Craft.t('app', 'Give your tab a name.'), oldName));
},

removeTab: function($tab) {
Expand Down

0 comments on commit f9378aa

Please sign in to comment.