Files
windmill/backend/windmill-api/src
Ruben Fiszel 54f5a19377 fix: prevent SQL injection in job query parameters (#8494)
Replace unsafe string interpolation (format!("'{}'", t)) with
sql_builder::quote() in SQL query construction. The tags parameter in
count_completed_jobs_detail was directly interpolated without escaping,
allowing authenticated users to inject arbitrary SQL via the query string.

Also hardens LIKE clauses, JSON operators, and JOIN conditions across
query.rs and variables.rs that used manual .replace("'", "''") instead
of the crate's quote() function, and converts format-interpolated bind
values to parameterized queries where possible.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:23:43 +00:00
..
2026-03-20 16:12:59 +00:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-10-16 09:19:44 +00:00
2025-06-02 22:12:33 +02:00
nit
2025-12-15 20:35:51 +00:00
2024-04-04 04:16:53 +02:00
2026-02-11 06:44:10 +00:00
2025-06-02 22:12:33 +02:00
2026-02-11 06:44:10 +00:00
2025-09-04 22:05:22 +00:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
2025-06-02 22:12:33 +02:00
nit
2025-09-11 21:57:56 +00:00
2026-02-16 15:52:02 +00:00