1
0
mirror of https://github.com/janeczku/calibre-web synced 2026-05-11 16:02:13 +00:00
Files
jvoisin 42dc36cc10 Escape comment columns names
Custom columns of type comments are rendered with `|safe` (disabling Jinja2
auto-escaping) and no `clean_string` sanitization. Compare with regular book
comments which correctly use `{{ entry.comments[0].text|clean_string|safe }}`.

Any user with edit permissions can set a custom comment column to
`<script>alert(document.cookie)</script>` and it will execute for every user who
views the book detail page or the OPDS feed. This is stored XSS with no
authentication barrier beyond edit permission.
2026-04-15 23:03:30 +02:00
..
2023-03-25 10:42:36 +01:00
2024-11-23 15:46:20 +01:00
2024-11-23 15:46:20 +01:00
2025-03-31 19:06:53 +02:00
2025-03-26 06:56:53 +01:00
2026-04-15 23:03:30 +02:00
2026-04-15 23:03:30 +02:00
2024-05-11 14:26:43 +02:00
2026-01-24 20:50:59 +01:00
2026-04-15 23:03:30 +02:00
2021-07-30 09:25:19 +02:00
2023-05-27 16:25:06 +02:00
2026-01-16 06:11:29 +01:00
2023-01-04 13:30:13 +11:00
2021-10-06 22:06:33 +02:00
2024-08-23 09:44:11 +02:00
2023-02-05 08:47:10 +01:00
2024-08-02 18:08:18 +02:00
2024-12-13 18:03:14 +01:00