Files
open-webui/backend/open_webui/routers
Classic298andClaude Opus 4.7 9a3eea6448 fix: bind prompt history/version ops to the authorized prompt (#25056)
The history diff, delete, and version-restore routes authorize the URL
prompt_id but then act on a caller-supplied history/version id without
checking it belongs to that prompt (IDOR). Filter by prompt_id in
compute_diff and delete_history_entry, and reject a cross-prompt version_id
in update_prompt_version.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-01 12:07:52 -07:00
..
2026-05-31 14:59:28 -07:00
2026-05-19 20:44:38 +04:00
2026-06-01 09:53:04 -07:00
2026-05-14 13:12:59 +09:00
2026-06-01 11:34:46 -07:00
2026-05-21 14:01:57 +04:00
2026-05-31 18:42:28 -07:00
2026-05-31 15:10:48 -07:00
2026-05-14 13:19:00 +09:00
2026-05-21 14:01:57 +04:00
2026-05-21 15:29:49 +04:00
2026-05-21 16:25:25 +04:00