High, CVSS 7.1npmAmendedPublished
Cinny vulnerable to access token disclosure via invalidated emoji pack avatar URL in service worker
CVE-2026-42553 · GHSA-j944-w549-3453
- Affected
- npm cinny < 4.10.3
- Fixed in
- 4.10.3· Vendor fix available
- Issue
- Impact A remote authenticated attacker who shares a room with a victim and has permissions to create room emotes (for example in a DM) can cause the victim's client to send their Matrix access token to an attacker-controlled server. This occurs when the victim opens the emoji or sticker picker for the room containing a malicious emote pack. The root causes are: (1) an incorrect fallback in EmojiBoard that uses untrusted pack.meta.avatar (user-controlled) without converting/validating it as an MXC URL, allowing arbitrary HTTP(S) URLs to be used; and (2) the service worker attaching the user's Authorization bearer token to all outbound GET requests whose URL contains /matrix/client/v1/media/download or /matrix/client/v1/media/thumbnail without verifying the request host matches the configured homeserver origin. An attacker-controlled URL containing those path fragments and permissive CORS will receive the victim's Authorization header (access token). Impacted users: anybody using…
Recommended action: Upgrade to 4.10.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.