mirror of
https://github.com/pretix/pretix.git
synced 2026-08-16 11:46:27 +00:00
[SECURITY] Fix XSS in ticket layout JSON (CVE-2026-57532)
This commit is contained in:
committed by
Raphael Michel
parent
8ec81f80e8
commit
ba37f2eb47
@@ -289,7 +289,7 @@ class BaseEditorView(EventPermissionRequiredMixin, TemplateView):
|
||||
ctx['pdf'] = self.get_current_background()
|
||||
ctx['variables'] = self.get_variables()
|
||||
ctx['images'] = self.get_images()
|
||||
ctx['layout'] = json.dumps(self.get_current_layout())
|
||||
ctx['layout'] = self.get_current_layout()
|
||||
ctx['title'] = self.title
|
||||
ctx['locales'] = [p for p in settings.LANGUAGES if p[0] in self.request.event.settings.locales]
|
||||
ctx['maxfilesize'] = self.maxfilesize
|
||||
|
||||
Reference in New Issue
Block a user