Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-71285: CWE-79 in louislam uptime-kuma

0
High
Published: 08/05/2026 (08/05/2026, 15:32:21 UTC)
Source: CVE Database V5
Vendor/Project: louislam
Product: uptime-kuma

Description

Uptime Kuma's Matomo analytics integration (server/analytics/matomo-analytics.js) injects the admin-configurable Matomo `siteId` value as a bare, unquoted JavaScript expression inside a <script> block rendered on every public status page: `_paq.push(['setSiteId', ${escapedSiteIdHTMLAttribute}]);`. The escaping pipeline used (jsesc with isScriptContext:true, then html-escaper.escape()) does not escape the characters `]`, `)`, `;`, `(`, which are sufficient to break out of the array/push expression context. A siteId value such as `1]);alert(document.cookie)//`, once saved by an editor/admin, executes arbitrary JavaScript for every unauthenticated visitor of the public /status/<slug> page, enabling session-cookie theft and full page takeover.

CVSS v3.1

Score 8.1high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 13:27:07 UTC

Technical Analysis

The vulnerability in Uptime Kuma's Matomo analytics integration (server/analytics/matomo-analytics.js) arises from injecting the admin-configured Matomo siteId value directly into a JavaScript array push expression inside a <script> block on public status pages. The escaping mechanism used does not escape critical characters such as ], ), ;, and (, enabling an attacker to break out of the intended JavaScript context. By setting a malicious siteId value like '1]);alert(document.cookie)//', an attacker can execute arbitrary JavaScript for every unauthenticated visitor, leading to session cookie theft and full page takeover. This is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation).

Potential Impact

Successful exploitation allows an attacker with administrative privileges to inject arbitrary JavaScript code into public status pages, affecting all unauthenticated visitors. This can lead to session cookie theft and full page takeover of the affected pages. The vulnerability has a high severity with a CVSS score of 8.1, indicating significant confidentiality and integrity impact but no direct availability impact.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict administrative access to trusted users only to prevent malicious siteId injection. Monitor for updates from the vendor regarding a patch or official mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
TuranSec
Date Reserved
2026-08-05T12:23:34.968Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a7336e7bf8831d539ed92ea

Added to database: 08/05/2026, 13:13:11 UTC

Last enriched: 08/05/2026, 13:27:07 UTC

Last updated: 08/05/2026, 23:19:51 UTC

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses