Skip to content

Commit

Permalink
Fixed XSS vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed May 18, 2023
1 parent 45615ce commit 7655e10
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,7 @@
- Fixed a bug where reverting an entry’s content from a revision could omit some Matrix blocks.
- Fixed an error that could occur when adding a new site to an entry which contained Matrix blocks, if the same site had been added and removed previously.
- Fixed a bug where Matrix blocks nested within Neo or Super Table fields could be omitted when propagating an entry to a new site. ([#13207](https://github.com/craftcms/cms/issues/13207))
- Fixed two XSS vulnerabilities.

## 4.4.11 - 2023-05-15

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/web/assets/cp/src/js/BaseElementIndex.js
Expand Up @@ -3457,7 +3457,7 @@ const ViewMenu = Garnish.Base.extend({
.createSelect({
options: this.elementIndex.getSortOptions(this.$source).map((o) => {
return {
label: o.label,
label: Craft.escapeHtml(o.label),
value: o.attr,
};
}),
Expand Down
2 changes: 1 addition & 1 deletion src/web/assets/cp/src/js/CustomizeSourcesModal.js
Expand Up @@ -639,7 +639,7 @@ Craft.CustomizeSourcesModal.Source =
name: `sources[${this.sourceData.key}][defaultSort][0]`,
options: this.sourceData.sortOptions.map((o) => {
return {
label: o.label,
label: Craft.escapeHtml(o.label),
value: o.attr,
};
}),
Expand Down

0 comments on commit 7655e10

Please sign in to comment.