PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-71285 louislam CVE debrief

Uptime Kuma's Matomo analytics integration is vulnerable to JavaScript injection due to insufficient escaping of the siteId value. This allows an attacker to inject arbitrary JavaScript code, potentially leading to session-cookie theft and full page takeover. The vulnerability exists in the server/analytics/matomo-analytics.js file, where the admin-configurable Matomo siteId value is injected as a bare, unquoted JavaScript expression inside a <script> block rendered on every public status page. To verify and mitigate this vulnerability, defenders should review the Matomo siteId configuration, monitor for suspicious activity on public status pages, and consider implementing additional security measures to prevent session-cookie theft and page takeover. The CVE record was published on 2026-08-05T13:24:53.210Z and has not been modified since then. 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.

Vendor
louislam
Product
uptime-kuma
CVSS
HIGH 8.1
CISA KEV
Not listed in stored evidence
Original CVE published
2026-08-05
Original CVE updated
2026-08-26
Advisory published
2026-08-05
Advisory updated
2026-08-26

Who should care

Administrators and users of Uptime Kuma, particularly those who have configured the Matomo analytics integration, should be aware of this vulnerability and take steps to mitigate it. This includes reviewing and updating the Matomo siteId configuration to prevent potential JavaScript injection attacks, monitoring for suspicious activity on public status pages, and considering additional security measures to prevent session-cookie theft and page takeover. Vulnerability management and security teams should also be aware of this vulnerability and track exceptions, retest remediated assets, and close the item only after evidence is documented.

Technical summary

Uptime Kuma's Matomo analytics integration is vulnerable to JavaScript injection due to insufficient escaping of the siteId value. This allows an attacker to inject arbitrary JavaScript code, potentially leading to session-cookie theft and full page takeover. The vulnerability exists in the server/analytics/matomo-analytics.js file, where the admin-configurable Matomo siteId value is injected as a bare, unquoted JavaScript expression inside a <script> block rendered on every public status page. To prevent potential JavaScript injection attacks, administrators and users of Uptime Kuma should prioritize reviewing and updating the Matomo siteId configuration.

Defensive priority

Administrators and users of Uptime Kuma should prioritize reviewing and updating the Matomo siteId configuration to prevent potential JavaScript injection attacks.

Recommended defensive actions

  • Review and update the Matomo siteId configuration to prevent potential JavaScript injection attacks
  • Monitor for suspicious activity on public status pages
  • Consider implementing additional security measures to prevent session-cookie theft and page takeover
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented

Evidence notes

The CVE description indicates that Uptime Kuma's Matomo analytics integration is vulnerable to JavaScript injection due to insufficient escaping of the siteId value. This allows an attacker to inject arbitrary JavaScript code, potentially leading to session-cookie theft and full page takeover. The vulnerability exists in the server/analytics/matomo-analytics.js file, where the admin-configurable Matomo siteId value is injected as a bare, unquoted JavaScript expression inside a <script> block rendered on every public status page. To verify and mitigate this vulnerability, defenders should review the Matomo siteId configuration, monitor for suspicious activity on public status pages, and consider implementing additional security measures to prevent session-cookie theft and page takeover.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-71285 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-71285 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Source reference

    Unverified legacy reference

    URL: https://github.com/louislam/uptime-kuma

    309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

  • Source reference

    Unverified legacy reference

    URL: https://github.com/louislam/uptime-kuma/blob/master/server/analytics/matomo-analytics.js

    309f9ea4-e3e9-4c6c-b79d-e8eb01244f2c

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.