mirror of
https://github.com/pretix/pretix.git
synced 2026-08-25 13:12:00 +00:00
[SECURITY] Properly escape HTML tags in PDF generation (CVE-2026-57535)
This commit is contained in:
@@ -1067,7 +1067,7 @@ class Renderer:
|
||||
except:
|
||||
logger.exception('Reshaping/Bidi fixes failed on string {}'.format(repr(text)))
|
||||
|
||||
p = Paragraph(text, style=style)
|
||||
p = Paragraph(text, style=style) # not using AutoEscapeParagraph is safe as we escape above
|
||||
return p, ad, lineheight
|
||||
|
||||
def _draw_textcontainer(self, canvas: Canvas, op: OrderPosition, order: Order, o: dict):
|
||||
|
||||
Reference in New Issue
Block a user