CVE-2025-55291 Shaarli allows reflected XSS via searchtags parameter

High 7.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via the searchtags parameter in Shaarli, potentially leading to session hijacking or data theft.

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

What is CVE-2025-55291?

CVE-2025-55291 is a high-severity cross-site scripting vulnerability in Shaarli, published on 18 Aug 2025. 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 minimalist bookmark manager and link sharing service. Prior to 0.15.0, the input string in the cloud tag page is not properly sanitized. This allows the </title> tag to be prematurely closed, leading to a reflected Cross-Site Scripting (XSS) vulnerability. This vulnerability is fixed in 0.15.0.

Weakness: CWE-87, CWE-80, CWE-79

Which versions are affected by CVE-2025-55291?

How do I fix CVE-2025-55291?

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-2025-55291 being exploited?

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

Sources

Also known as DEBIAN-CVE-2025-55291, GHSA-7w7w-pw4j-265h, UBUNTU-CVE-2025-55291.

Is CVE-2025-55291 in your software?

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

Check your SBOMs for free