Skip to main content

Linkwarden CVE-2026-42455

HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-05-08 GitHub_M
8.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access public Linkwarden instance
  2. Delivery
    Upload malicious HTML via POST /api/v1/archives
  3. Exploit
    Social engineer victim to view archive
  4. Execution
    JavaScript executes in authenticated session
  5. Persist
    Exfiltrate session cookies
  6. Impact
    Account takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires Linkwarden instance to have the archive upload API endpoint /api/v1/archives accessible to untrusted users - specifically when the application permits unauthenticated uploads (PR:N from CVSS vector) or when authentication is present but not validated for malicious content. Exploitation also requires a victim user with authenticated session to subsequently access the archived content via the GET endpoint, triggering the stored XSS payload. The vulnerability is NOT limited by specific deployment configurations - all default Linkwarden installations lack the required Content-Security-Policy protections. Limiting factors: in private single-user deployments with no external access, attack surface is minimal. In team/collaborative environments or internet-facing instances (common for self-hosted bookmark managers), exploitation is realistic. Browser-based protections (XSS Auditor, modern CSP defaults) do NOT mitigate this attack because the malicious content is served from the legitimate Linkwarden origin with text/html content type.

Impact

Real-world risk is high for Linkwarden deployments accessible to untrusted users or public internet, particularly in team/collaborative environments where users share bookmarks. CVSS 4.0 vector shows AV:N (network attack vector), AC:L (low complexity), PR:N (no privileges required), and UI:N (no user interaction) with high integrity impact (VI:H), indicating remote unauthenticated exploitation is trivial. However, the CVSS score should be interpreted cautiously: while the attack vector is 'network' and requires no privileges to upload, actual impact requires a victim to access the malicious archive, which may not be fully captured in the UI:N metric. The lack of patches (confirmed by GitHub Security Advisory GHSA-fjvg-mch3-j3vg) elevates urgency for affected organizations. EPSS score not provided, limiting automated risk prioritization. No CISA KEV listing suggests no widespread exploitation campaigns detected, but self-hosted applications often see targeted attacks that evade broad threat intelligence. Critical missing data: confirmation of affected version range beyond '2.14.0 and prior' - unclear if 2.14.1+ exists or addresses this issue. Organizations must verify their deployed version against the CPE cpe:2.3:a:linkwarden:linkwarden and assess exposure based on access controls.

Exploit ScenarioDerived

An external attacker accesses a publicly exposed or low-trust Linkwarden instance (common in team collaboration scenarios). They create a malicious HTML file containing JavaScript that steals session cookies, exfiltrates bookmarks, or modifies user settings. The attacker uploads this file via POST /api/v1/archives/[linkId]?format=4 without authentication (PR:N). When a legitimate authenticated user (administrator or team member) later views the archived bookmark via GET /api/v1/archives/[linkId]?format=4, the malicious JavaScript executes in their browser with full session privileges, sending cookies to the attacker's domain. The attacker uses stolen session tokens to access the victim's account, harvest sensitive bookmarks, or inject additional malicious archives.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 09, 2026

Stored cross-site scripting in Linkwarden 2.14.0 and earlier allows remote unauthenticated attackers to execute arbitrary JavaScript in victims' authenticated sessions by uploading malicious HTML archives. The vulnerability exists because the /api/v1/archives endpoint accepts unsanitized HTML files and serves them without Content-Security-Policy protections, enabling session hijacking and account takeover. No vendor-released patch identified at time of analysis (GHSA advisory notes no patches available). EPSS data not provided; no active exploitation (CISA KEV) or public POC identified at time of analysis.

RemediationAI

No vendor-released patch exists at time of analysis per GHSA-fjvg-mch3-j3vg advisory statement 'there are no publicly available patches.' Organizations running Linkwarden 2.14.0 or earlier should implement these compensating controls immediately: (1) Deploy a reverse proxy (nginx, Caddy, Traefik) in front of Linkwarden and configure strict Content-Security-Policy headers for all /api/v1/archives responses - specifically set 'Content-Security-Policy: default-src none; script-src none; object-src none; base-uri none' to block JavaScript execution. Trade-off: may break legitimate HTML archive display features if archives contain intentional scripts. (2) Restrict archive upload permissions to trusted administrative users only via application access controls or reverse proxy authentication - disable public/anonymous uploads to the /api/v1/archives endpoint. Trade-off: reduces collaborative functionality for untrusted team members. (3) Implement file type validation at the reverse proxy layer to reject text/html uploads entirely, forcing users to archive as PDF or screenshot formats instead. Trade-off: eliminates HTML archiving capability. Monitor the GitHub repository (https://github.com/linkwarden/linkwarden) and subscribe to GHSA-fjvg-mch3-j3vg for patch release notifications. Consider temporarily disabling archive upload features if compensating controls cannot be deployed quickly.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Linkwarden is a self-hosted collaborative bookmark manager written in JavaScript (likely Next.js/React based on typical self-hosted webapp stacks). This vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation) in the archive upload and retrieval mechanism. The application's REST API endpoint POST /api/v1/archives/[linkId]?format=4 accepts HTML file uploads (Content-Type: text/html) without server-side sanitization or validation of embedded JavaScript. When retrieved via GET /api/v1/archives/[linkId]?format=4, the stored HTML is served directly from the Linkwarden origin with text/html Content-Type but critically lacks Content-Security-Policy headers that would restrict script execution. This creates a stored XSS condition where malicious JavaScript persists server-side and executes in the browser context of any user who accesses the archived content, inheriting their authenticated session privileges.

Know when Linkwarden gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
May 09, 2026 - 00:22 NVD
8.8 (HIGH)
CVE Published
May 08, 2026 - 23:10 nvd
UNKNOWN (no severity yet)
CVE Published
May 08, 2026 - 23:10 nvd
HIGH 8.8

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Linkwarden versions 2.14.0 and earlier contain a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious code into archived content, compromising authenticated user sessions and enabling account takeover. Organizations using Linkwarden for document management face immediate risk of credential theft and unauthorized access to sensitive archived materials without vendor remediation currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable HTML file uploads to the /api/v1/archives endpoint or restrict upload functionality to authenticated administrators only; (2) Deploy Web Application Firewall rules blocking .html, .htm, and .mhtml file uploads; (3) Implement strict Content-Security-Policy headers (default-src 'self'; script-src 'self'; frame-ancestors 'none'); (4) Enforce regular session timeouts for authenticated users; (5) Monitor authentication logs for anomalous account activity; (6) Isolate Linkwarden deployment from sensitive network segments until patch is available.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

Affected Products (CPE)CVE.org

cpe:2.3:a:linkwarden:linkwarden:*:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy