Skip to content

release 2.24.1 changelog (and 2.16, 2.19 backports) - #183

Merged
mikehardy merged 1 commit into
mainfrom
release-2.24.1
Aug 31, 2026
Merged

mikehardy merged 1 commit into
mainfrom
release-2.24.1

Conversation

@mikehardy

@mikehardy mikehardy commented Aug 31, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Adds changelog.asc headings for public releases dated 20260831: 2.24.1, plus backports 2.19.6 and 2.16.6 (so tools/release.sh can find Version $VERSION).
  • 2.24.1 includes the full notes (security, Play donation-link removal, bugfixes). 2.19.6 / 2.16.6 are security + donation-link removal only (no 2.24.1 bugfixes; no Ashish/criticalAY image-picker fix).

Test plan

  • Confirm headings: == Version 2.24.1 (20260831), == Version 2.19.6 (20260831), == Version 2.16.6 (20260831)
  • Confirm 2.24.1 xref to 2.24.0 (#_version_2_24_0_20260502) resolves
  • Confirm 2.19.6 and 2.16.6 only include security fixes and donation-link removal, with no 2.24.1 bugfixes or the Note Editor image-picker fix

Comment thread changelog.asc
Please see the xref:#_version_2_24_0_20260502[2.24.0 changelog] below for the main 2.24 features announcement 👇

* Security
** Reviewer: cards can no longer open dangerous links [GHSL-2026-085, GHSA-54q9-5c5p-9rxg]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GHSL is incorrect, all are -085

Comment thread changelog.asc
** Reviewer: cards can no longer open dangerous links [GHSL-2026-085, GHSA-54q9-5c5p-9rxg]
** Reviewer: cards require permission to launch apps [GHSL-2026-085, GHSA-54q9-5c5p-9rxg]
*** May be unblocked in advanced settings, if all your cards are trustworthy.
** JavaScript API: blocked calls which could read and modify cards (other than the currently selected card) [GHSL-2026-084, GHSA-54q9-5c5p-9rxg]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this correct?

@david-allison david-allison Aug 31, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❌ GHSL-2026-083 - 2.19 and above cards can no longer open dangerous links
✅ GHSL-2026-084 - 2.16 and above JavaScript API: blocked calls which could read and modify cards (other than the currently selected card)
✅ GHSL-2026-085 - all releases - cards require permission to launch apps

@mikehardy

Copy link
Copy Markdown
Member Author

Worktree-verified security commits (evidence for changelog mapping)

Checked against local HEADs in Anki-Android-Worktrees (worktree-for-2-16, worktree-for-2-19, worktree-for-2-24, worktree-for-main).

ID mapping (from commit messages)

ID Meaning Present on
GHSL-2026-083 Path traversal via percent-encoded slashes (ViewerResourceHandler) 2.24 + main only (e92c1380d3 / 3dbe7bcc2e) — not an ancestor of 2.16/2.19
GHSL-2026-084 JS API: block dangerous card read/modify APIs + toggle 2.16, 2.19, 2.24, main
GHSL-2026-085 Dangerous URL schemes + intent-flag stripping + launch-apps permission 2.16, 2.19, 2.24, main
GHSA-qjjx-px4w-4986 Media/WebView path traversal guards (withFileNameSafe) all four (recent commits)
GHSA-q29p-h3pp-mh3v Import filename sanitization (path traversal) all four (recent commits)
GHSA-cr2g-gf75-cm6r Reject untrusted file:// from image picker 2.24 + main only
Donate-link removal (Play) Play-variant donate links removed all four

worktree-for-2-16 (release-2.16)

Already on branch (security batch):

  • 9c31728362 fix(js-api): block ankiSearchCardWithCallback — GHSL-2026-084
  • b86721671e feat(js-api): enable dangerous permission toggle — GHSL-2026-084
  • 743724e287 feat(js-api): warn user on permission denial — GHSL-2026-084
  • ccc7abf43d fix(study-screen): block dangerous intent flags — GHSL-2026-085
  • 9be6b25c2d fix(reviewer): block dangerous URL schemes — GHSL-2026-085
  • ea9170db6f feat(reviewer): add checkCanLaunchExternalApps toggle — GHSL-2026-085
  • 04589a34e0 feat(reviewer): warn user if external app launch blocked — GHSL-2026-085
  • e7034b241d test(analytics): exclude security-sensitive settings — GHSL-2026-084/085

Ahead of upstream/release-2.16:

  • 7a07a2491b fix(import): sanitize filenames to block path traversal — GHSA-q29p
  • da33d4579e fix(security): centralize path traversal checks — GHSA-qjjx prep
  • 5ba26ef1e7 fix(security): guard media asset loader against traversal — GHSA-qjjx
  • 3ff8c97eaa feat: remove 'Donate' links from 'play' variant

worktree-for-2-19 (release-2.19)

Already on branch (security batch):

  • 246f9a2995 / 1c0e59b288 fix(js-api): block searchCardWithCallback / addTagToNote — GHSL-2026-084
  • 8b8aa04499 / 8184de000a js-api dangerous permission toggle + warn — GHSL-2026-084
  • 26b54c0f1a fix(study-screen): block dangerous intent flags — GHSL-2026-085
  • d84531d0db fix(reviewer): block dangerous URL schemes — GHSL-2026-085
  • d0e8e04063 / c5bd498a1f checkCanLaunchExternalApps + warn — GHSL-2026-085
  • 0e0bb72d03 / c50402eaca analytics + js-api test updates — GHSL-2026-084/085

Ahead of upstream/release-2.19:

  • 94bbb0cf43 fix(import): sanitize filenames to block path traversal — GHSA-q29p
  • 589fd681ab fix(security): centralize path traversal checks — GHSA-qjjx prep
  • 43c9f0a90a fix(security): guard media branch against traversal — GHSA-qjjx
  • 195a444a91 feat: remove 'Donate' links from 'play' variant

worktree-for-2-24 (release-2.24)

Already on branch (security batch):

  • e92c1380d3 fix(reviewer): Path traversal via percent-encoded slashes — GHSL-2026-083
  • 8236bb13e8 / 1f80d38397 fix(js-api): block searchCardWithCallback / addTagToNote — GHSL-2026-084
  • 1d884da369 / e88a2c915e js-api dangerous permission toggle + warn — GHSL-2026-084
  • 28267d7e19 fix(study-screen): block dangerous intent flags — GHSL-2026-085
  • b6b74cf176 fix(reviewer): block dangerous URL schemes — GHSL-2026-085
  • 3d0ac028ec / a16f22c0ab checkCanLaunchExternalApps + warn — GHSL-2026-085
  • b9c101bd03 feat(study-screen): security fixes for GHSL-2026-085
  • 9ac644ce41 fix: reject untrusted file:// from the image picker — GHSA-cr2g
  • c447821c84 / dc9013dd3d remove 'Donate' links from 'play' variant (+ changelog)

Ahead of upstream/release-2.24:

  • 565b77f9d2 fix(import): sanitize filenames to block path traversal — GHSA-q29p
  • 5b3e06d619 fix(security): centralize path traversal checks — GHSA-qjjx

worktree-for-main (for-main)

Same shape as 2.24 for changelog purposes (not a point-release entry here):

  • 3dbe7bcc2e GHSL-2026-083 percent-encoded path traversal
  • GHSL-2026-084 / 085 js-api + dangerous URL / launch-apps series
  • 7e7e467210 image picker untrusted file:// — GHSA-cr2g
  • 728d3bcb56 / 1be1c33770 Donate removal
  • Ahead of upstream/main: b6825dc2e3 (GHSA-q29p), 33d2a30ad7 (GHSA-qjjx)

Changelog implications (applied in this PR)

  1. Do not retag “dangerous links” as GHSL-083 — commits tag it as GHSL-085, and it is present on 2.16+.
  2. Keep “dangerous links” on 2.16.6 and 2.19.6.
  3. Cite GHSL-083 on path traversal only for 2.24.1; older series use GHSA-qjjx only for media path traversal.
  4. Drop GHSL-083 from Kevin thank-you lines on 2.16.6 / 2.19.6.
  5. Add GHSA-q29p import path-traversal bullet on all three point releases.

@david-allison — if the review matrix that associated GHSL-083 with “dangerous links / 2.19+” was intentional rather than a label swap vs the commit messages, shout and we can adjust again.

@mikehardy
mikehardy merged commit 668f406 into main Aug 31, 2026
4 checks passed
@mikehardy
mikehardy deleted the release-2.24.1 branch August 31, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants