CVE-2026-24476 Shaarli vulnerable to stored XSS via Suggested Tags

Medium 5.3 Published Updated

Attackers can inject arbitrary HTML via malicious tags in Shaarli, leading to stored XSS attacks on the start page.

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
Available

What is CVE-2026-24476?

CVE-2026-24476 is a medium-severity cross-site scripting vulnerability in Shaarli, published on 26 Jan 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. Prior to version 0.16.0, crafting a malicious tag which starting with `"` prematurely ends the `<input>` tag on the start page and allows an attacker to add arbitrary html leading to a possible XSS attack. Version 0.16.0 fixes the issue.

Weakness: CWE-79

Which versions are affected by CVE-2026-24476?

It affects 1 product.

Products include Shaarli Project Shaarli.

How do I fix CVE-2026-24476?

Upgrade to a fixed version.

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-24476 being exploited?

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

Sources

Also known as DEBIAN-CVE-2026-24476, DSA-6128-1, GHSA-g3xq-mj52-f8pg, UBUNTU-CVE-2026-24476.

Is CVE-2026-24476 in your software?

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

Check your SBOMs for free