CVE-2026-42455: LinkWarden: Stored XSS via Client-Side Archive Upload (Unsanitized HTML served from same origin)
Linkwarden is a self-hosted, open-source collaborative bookmark manager to collect, organize and archive webpages. In versions 2.14.0 and prior, the archive upload endpoint (POST /api/v1/archives/[linkId]?format=4) accepts HTML files (text/html) without sanitizing JavaScript content. When the archive is later accessed via GET /api/v1/archives/[linkId]?format=4, the HTML is served with Content-Type: text/html from the Linkwarden origin, without any Content-Security-Policy header. This allows arbitrary JavaScript execution in the context of the authenticated Linkwarden sessio. At time of publication, there are no publicly available patches.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42455?
CVE-2026-42455 is classified as a medium severity vulnerability due to its potential for exploitation through stored XSS.
How do I fix CVE-2026-42455?
To fix CVE-2026-42455, upgrade Linkwarden to version 2.14.1 or later, which addresses the vulnerability.
Who is affected by CVE-2026-42455?
CVE-2026-42455 affects all users of Linkwarden versions 2.14.0 and earlier.
What type of vulnerability is CVE-2026-42455?
CVE-2026-42455 is a stored cross-site scripting (XSS) vulnerability.
What is the impact of exploiting CVE-2026-42455?
Exploiting CVE-2026-42455 could allow attackers to execute arbitrary scripts in the browser of users accessing affected pages.