Blog ยท release
Latch 0.30.1
๐ Security: text in a confirm dialog can no longer run as script. No migration.
- Seven "are you sure?" dialogs quoted their text straight into the page's inline script: failing a
task, removing an activity or a wheel segment, deleting a kit item, the emergency key, and a Kennel
Card view's new-link and delete. A task title, an activity title or a segment label shaped like
x');alert(1);('closed the quote and ran. Those strings are not always yours: a playset, a pack Handler or the AI Handler can write a task title, and a playset can write the other two. Each dialog now gets its text as JSON, the same fix 0.30.0 made on the Playsets pages. - A test now fails the build if any template puts template text into an inline handler any other way.