Quick answers
- Is CVE-2026-48821 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-48821 being exploited in the wild.
- How severe is CVE-2026-48821?
- Medium severity, with a CVSS score of 5.8, published 17 June 2026.
- Which products and versions are affected?
- Shaarli <= 0.16.1.
- Is there a fix for CVE-2026-48821?
- A patch was published on 2026-05-23: Version 0.16.2 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-48821 attacked?
- It is attacked with local access, in a network appliance.
- Am I affected by CVE-2026-48821?
- Check whether you run Shaarli at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A DOM-based Cross-Site Scripting (XSS) vulnerability exists in Shaarli's Thumbnail Synchronizer. The backend 'ThumbnailsController::ajaxUpdate' method uses a 'raw' formatter that returns unescaped bookmark titles in JSON responses. The frontend 'thumbnails-update.js' script then processes this AJAX response and inserts the title into the DOM using 'innerHTML' without sanitization. An attacker can exploit this by creating a bookmark with a malicious payload in the title; when an administrator runs the thumbnail update process, the payload executes. This can lead to session hijacking and full administrative takeover. The issue is fixed in version 0.16.2 by properly sanitizing DOM insertions.
Affected products
- Shaarli Shaarli <= 0.16.1
Timeline
- 2026-05-23: patched: Version 0.16.2 released
- 2026-05-23: advisory: GitHub Security Advisory GHSA-mw63-f9qj-c5h3 published
- 2026-06-17: disclosed: CVE-2026-48821 published