PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-48822 shaarli CVE debrief

CVE-2026-48822 is a stored Cross-Site Scripting (XSS) vulnerability in Shaarli, a personal bookmarking service. The vulnerability affects versions 0.16.1 and prior and is caused by a flaw in the Markdown-to-HTML conversion process used in the Bookmark Description field. An authenticated user can inject a malicious javascript: URI inside a Markdown link, allowing for potential XSS attacks. The vulnerability has been fixed in version 0.16.2. Users of affected versions should update to the latest version to prevent exploitation.

Vendor
shaarli
Product
Unknown
CVSS
MEDIUM 5.8
CISA KEV
Not listed in stored evidence
Original CVE published
2026-06-17
Original CVE updated
2026-06-18
Advisory published
2026-06-17
Advisory updated
2026-06-18

Who should care

Users of Shaarli versions 0.16.1 and prior should be aware of this vulnerability and take steps to update to version 0.16.2 or later. Additionally, administrators of systems using Shaarli should ensure that the service is updated to the latest version to prevent potential XSS attacks.

Technical summary

The vulnerability originates in the filterProtocols method within BookmarkMarkdownFormatter.php. This method attempts to sanitize Markdown links by filtering dangerous protocols (such as javascript:) before rendering. However, it fails to detect Markdown reference-style links, which are resolved by the Markdown parser after preprocessing. As a result, an attacker can supply a javascript: URI inside a reference definition, leading to a potential XSS attack.

Defensive priority

MEDIUM

Recommended defensive actions

  • Update Shaarli to version 0.16.2 or later
  • Ensure that the Bookmark Description field is properly sanitized
  • Implement additional security measures to prevent XSS attacks
  • Monitor for suspicious activity on the Shaarli service
  • Use a Web Application Firewall (WAF) to detect and prevent XSS attacks
  • Regularly review and update the Shaarli service to ensure the latest security patches are applied

Evidence notes

The vulnerability is caused by a flaw in the Markdown-to-HTML conversion process used in the Bookmark Description field. The filterProtocols method within BookmarkMarkdownFormatter.php fails to detect Markdown reference-style links, allowing an attacker to supply a javascript: URI inside a reference definition.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-48822 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-48822

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-48822 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-48822

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.