Skip to content

Commit

Permalink
Fixed an XSS vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Apr 3, 2023
1 parent 5b4ca40 commit 9d0cd0b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- Fixed a JavaScript error that occurred when closing a disclosure menu within Live Preview. ([#12992](https://github.com/craftcms/cms/issues/12992))
- Fixed a bug where assets were getting relocated to the root volume folder when renamed. ([#12995](https://github.com/craftcms/cms/issues/12995))
- Fixed a bug where it wasn’t possible to preview entries on another domain when the system was offline. ([#12979](https://github.com/craftcms/cms/issues/12979))
- Fixed an XSS vulnerability.

## 3.8.5 - 2023-03-21

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/web/assets/quickpost/src/QuickPostWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@

for (var i = 0; i < response.errors[attribute].length; i++) {
var error = response.errors[attribute][i];
$('<li>' + error + '</li>').appendTo(this.$errorList);
$('<li/>', {
text: error,
}).appendTo(this.$errorList);
}
}
}
Expand Down

0 comments on commit 9d0cd0b

Please sign in to comment.