Skip to main content
VulnerabilityPublished Updated

CVE-2024-42467: Org.openhab.ui.bundles:org.openhab.ui.cometvisu: CometVisu Backend for openHAB affected by SSRF/XSS

Affects org.openhab.ui.bundles:org.openhab.ui.cometvisuSource GCVE Database

0
Compare
Authoritative record:CVE-2024-42467· Critical 10.0

Not known to be exploited · CVSS 10.0 Critical : upgrade to 4.2.1 as a priority.

Data as of 12 Nov 2026, 23:23 UTC

CVSS 3.1 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.0% chance of exploitation in 30 days – higher than 64% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.2.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Aug 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade org.openhab.ui.bundles:org.openhab.ui.cometvisu to 4.2.1.

Affected software

ProductAffectedFixed in
Mavenorg.openhab.ui.bundles:org.openhab.ui.cometvisuAffected
  • >=3.4.0.M4 <4.2.1
Fixed in
  • 4.2.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available for this vulnerability and should be applied promptly. Since the proxy endpoint is unauthenticated and exploitable, upgrading to the fixed version of the CometVisu add-on is the recommended remediation. No vendor advisory content contradicts this; therefore, patching is the primary mitigation.

Description

The [proxy endpoint](https://github.com/openhab/openhab-webui/blob/1c03c60f84388b9d7da0231df2d4ebb1e17d3fcf/bundles/org.openhab.ui.cometvisu/src/main/java/org/openhab/ui/cometvisu/internal/backend/rest/ProxyResource.java#L83) of openHAB's CometVisu add-on can be accessed without authentication. This proxy-feature can be exploited as Server-Side Request Forgery (SSRF) to induce GET HTTP requests to internal-only servers, in case openHAB is exposed in a non-private network. Furthermore, this proxy-feature can also be exploited as a Cross-Site Scripting (XSS) vulnerability, as an attacker is able to re-route a request to their server and return a page with malicious JavaScript code. Since the browser receives this data directly from the openHAB CometVisu UI, this JavaScript code will be executed with the origin of the CometVisu UI. This allows an attacker to exploit call endpoints on an openHAB server even if the openHAB server is located in a private network. (e.g. by sending an openHAB admin a link that proxies malicious JavaScript.) This vulnerability was discovered with the help of CodeQL's [Server-side request forgery](https://codeql.github.com/codeql-query-help/java/java-ssrf/) query. ## Impact This issue may lead up to Remote Code Execution (RCE) when chained with other vulnerabilities (see: GHSL-2024-007).

References

Community reviews

Loading reviews…