Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. cinny
  4. ›
  5. CVE-2026-42553

CVE-2026-42553: Cinny vulnerable to access token disclosure via invalidated emoji pack avatar URL in service worker

May 7, 2026 (updated June 8, 2026)

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 affected Cinny web app versions who opens the emoji/sticker picker in a room containing a malicious emote pack and who is logged in (authenticated).

References

  • github.com/advisories/GHSA-j944-w549-3453
  • github.com/cinnyapp/cinny/releases/tag/v4.10.3
  • github.com/cinnyapp/cinny/security/advisories/GHSA-j944-w549-3453
  • nvd.nist.gov/vuln/detail/CVE-2026-42553

Code Behaviors & Features

Detect and mitigate CVE-2026-42553 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.10.3

Fixed versions

  • 4.10.3

Solution

Upgrade to version 4.10.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

npm/cinny/CVE-2026-42553.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:02 +0000.