Files
calibre-web/cps
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
..
2024-11-04 21:20:34 +01:00
2025-04-12 03:59:32 +08:00
2026-04-15 23:03:30 +02:00
2026-02-14 11:30:50 +01:00
2022-05-22 12:49:00 +01:00
2024-09-07 20:07:45 +02:00
2026-04-15 20:31:40 +02:00
2022-05-21 21:52:59 +01:00
2025-03-23 09:18:48 +01:00
2026-04-14 23:23:12 +02:00
2026-04-14 22:12:57 +02:00
2026-02-14 11:30:50 +01:00
2026-04-14 22:12:57 +02:00
2024-07-02 20:53:08 +02:00
2026-04-14 22:10:30 +02:00
2024-12-13 18:03:14 +01:00
2025-03-23 15:12:06 +01:00
2024-07-29 20:08:17 +02:00
2026-04-14 22:28:06 +02:00
2025-03-30 12:03:12 +02:00
2025-12-20 13:22:20 +01:00
2025-11-22 15:06:40 +01:00
2026-03-01 15:44:29 +01:00
2025-03-30 12:03:12 +02:00
2024-11-11 18:46:07 +01:00
2026-02-18 18:59:29 +01:00