Skip to content
Heist/ feed
Back to feed
Medium

Uptime Kuma Missing Origin Validation in WebSockets

Type: advisorySources: OSV

Uptime Kuma is an easy-to-use self-hosted monitoring tool. Prior to version 1.23.9, the application uses WebSocket (with Socket.io), but it does not verify that the source of communication is valid. This allows third-party website to access the application on behalf of their client. When connecting to the server using Socket.IO, the server does not validate the `Origin` header leading to other site being able to open connections to the server and communicate with it. Other websites still need to authenticate to access most features, however this can be used to circumvent firewall protections made in place by people deploying the application. Without origin validation, Javascript executed from another origin would be allowed to connect to the application without any user interaction. Without login credentials, such a connection is unable to access protected endpoints containing sensitive data of the application. However, such a connection may allow attacker to further exploit unseen vulnerabilities of the application. Users with "No-auth" mode configured who are relying on a reverse proxy or firewall to provide protection to the application would be especially vulnerable as it would grant the attacker full access to the application. In version 1.23.9, additional verification of the HTTP Origin header has been added to the socket.io connection handler. By default, if the `Origin` header is present, it would be checked against the Host header. Connection would be denied if the h

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-49805
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:07 UTC · Revision 1

Source evidence

Uptime Kuma Missing Origin Validation in WebSockets

core-osv · Original source

Published 11 Dec 2023, 22:37 UTC

Uptime Kuma is an easy-to-use self-hosted monitoring tool. Prior to version 1.23.9, the application uses WebSocket (with Socket.io), but it does not verify that the source of communication is valid. This allows third-party website to access the application on behalf of their client. When connecting to the server using Socket.IO, the server does not validate the `Origin` header leading to other site being able to open connections to the server and communicate with it. Other websites still need to authenticate to access most features, however this can be used to circumvent firewall protections made in place by people deploying the application. Without origin validation, Javascript executed from another origin would be allowed to connect to the application without any user interaction. Without login credentials, such a connection is unable to access protected endpoints containing sensitive data of the application. However, such a connection may allow attacker to further exploit unseen vulnerabilities of the application. Users with "No-auth" mode configured who are relying on a reverse proxy or firewall to provide protection to the application would be especially vulnerable as it would grant the attacker full access to the application. In version 1.23.9, additional verification of the HTTP Origin header has been added to the socket.io connection handler. By default, if the `Origin` header is present, it would be checked against the Host header. Connection would be denied if the h

osv:CVE-2023-49805
Complete source record
{
  "id": "73570747beffdcdb077566ffc1d69314ca5578f418dbc2581da324942937d4dc",
  "url": "https://osv.dev/vulnerability/CVE-2023-49805",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Uptime Kuma Missing Origin Validation in WebSockets",
    "summary": "Uptime Kuma is an easy-to-use self-hosted monitoring tool. Prior to version 1.23.9, the application uses WebSocket (with Socket.io), but it does not verify that the source of communication is valid. This allows third-party website to access the application on behalf of their client. When connecting to the server using Socket.IO, the server does not validate the `Origin` header leading to other site being able to open connections to the server and communicate with it. Other websites still need to authenticate to access most features, however this can be used to circumvent firewall protections made in place by people deploying the application. Without origin validation, Javascript executed from another origin would be allowed to connect to the application without any user interaction. Without login credentials, such a connection is unable to access protected endpoints containing sensitive data of the application. However, such a connection may allow attacker to further exploit unseen vulnerabilities of the application. Users with \"No-auth\" mode configured who are relying on a reverse proxy or firewall to provide protection to the application would be especially vulnerable as it would grant the attacker full access to the application. In version 1.23.9, additional verification of the HTTP Origin header has been added to the socket.io connection handler. By default, if the `Origin` header is present, it would be checked against the Host header. Connection would be denied if the h",
    "evidence": "osv:CVE-2023-49805",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-49805",
      "aliases": [
        "CVE-2023-49805",
        "GHSA-mj22-23ff-2hrr"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/louislam/dockge",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "03c7815b582257b54b8b145f47c29724660aac3a"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:dockge.kuma:dockge:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.3.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            },
            {
              "repo": "https://github.com/louislam/uptime-kuma",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "621419e4341995bd4dc35111bc4342d534adf455"
                },
                {
                  "fixed": "2815cc73cfd9d8ced889e00e72899708220d184f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:uptime.kuma:uptime_kuma:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.23.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2815cc73cfd9d8ced889e00e72899708220d184f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.3.2",
            "1.3.1",
            "1.3.0",
            "1.2.0",
            "1.1.0",
            "1.0.4",
            "1.0.2",
            "1.0.0",
            "1.23.8",
            "1.23.7",
            "1.23.6",
            "1.23.5",
            "1.23.4",
            "1.23.3",
            "1.23.2",
            "1.23.1",
            "1.23.0",
            "1.23.0-beta.1",
            "1.23.0-beta.0",
            "1.21.2",
            "1.21.2-beta.0",
            "1.21.1",
            "1.21.0",
            "1.21.0-beta.1",
            "1.21.0-beta.0",
            "1.20.0-beta.0",
            "1.19.4",
            "1.19.3",
            "1.19.2",
            "1.19.1",
            "1.19.0",
            "1.19.0-beta.2",
            "1.19.0-beta.1",
            "1.17.1",
            "1.17.0",
            "1.17.0-beta.1",
            "1.17.0-beta.0",
            "1.16.0-beta.0",
            "1.14.0-beta.2",
            "1.14.0-beta.1",
            "1.12.1",
            "1.12.0",
            "1.11.4",
            "1.11.3",
            "1.11.2",
            "1.11.1",
            "1.11.0",
            "1.10.2",
            "1.10.1",
            "1.10.0",
            "1.9.1",
            "1.9.0",
            "1.7.0",
            "1.6.0",
            "1.0.10",
            "1.0.9",
            "1.0.8",
            "1.0.7",
            "1.0.5",
            "1.0.3",
            "1.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49805.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.662366351Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49805.json",
        "https://github.com/louislam/uptime-kuma/security/advisories/GHSA-mj22-23ff-2hrr",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-49805",
        "https://github.com/louislam/uptime-kuma/commit/2815cc73cfd9d8ced889e00e72899708220d184f"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1385"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49805.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-49805",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503989,
  "published_at": "2023-12-11T22:37:04.802+00:00"
}