CVE-2026-48823 Shaarli has Stored Cross-Site Scripting (XSS) via Tags Search

Medium 4.8 Published Updated

Authenticated users can inject JavaScript via tags, leading to stored XSS when others use the tag filter, risking session hijacking or data theft.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-48823?

CVE-2026-48823 is a medium-severity cross-site scripting vulnerability in Shaarli, published on 17 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Shaarli is a personal bookmarking service. Versions 0.16.1 and prior contain a stored Cross-Site Scripting (XSS) vulnerability in the tag filtering functionality of Shaarli. An authenticated user can inject arbitrary JavaScript into the tags field when creating a bookmark (Shaare). The malicious payload is stored and later executed when users interact with the "Filter by tag" search feature on the homepage. User-supplied input in the tags field is not properly sanitized or output-escaped before being rendered in the tag filtering interface. When a bookmark is created with a malicious payload inside the tag field, the payload is stored in the database. Later, when a user searches using the "Filter by tag" functionality on the homepage, the application renders matching tags dynamically. If the tag value contains HTML with JavaScript event handlers, it is injected into the DOM. This impacts anyone interacting with the "Filter by tag" search functionality, administrators and privileged users. This issue has been fixed in version 0.16.2.

Weakness: CWE-79

Which versions are affected by CVE-2026-48823?

How do I fix CVE-2026-48823?

No fix has been published for CVE-2026-48823 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-48823 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-48823 exists.

Sources

Also known as DEBIAN-CVE-2026-48823, GHSA-68qr-fvv8-6mc6, UBUNTU-CVE-2026-48823.

Is CVE-2026-48823 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free