Skip to content

[GHSA-v7gr-mqpj-wwh3] CometVisu Backend for openHAB affected by SSRF/XSS#8139

Open
sealbenb wants to merge 1 commit into
sealbenb/advisory-improvement-8139from
sealbenb-GHSA-v7gr-mqpj-wwh3
Open

[GHSA-v7gr-mqpj-wwh3] CometVisu Backend for openHAB affected by SSRF/XSS#8139
sealbenb wants to merge 1 commit into
sealbenb/advisory-improvement-8139from
sealbenb-GHSA-v7gr-mqpj-wwh3

Conversation

@sealbenb

Copy link
Copy Markdown

Updates

  • Affected products
  • CVSS v3

Comments
ProxyResource added by openhab/openhab-webui@531dabf#diff-b9a920cefe5f9b2ee3615cb29f88bcad0535012c2ae2535bd12e47d6d9395b6a

@github

github commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Hi there @kaikreuzer! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.

This change will be reviewed by our Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory

Copilot stopped work on behalf of sealbenb due to an error June 25, 2026 17:28
@github-actions github-actions Bot changed the base branch from main to sealbenb/advisory-improvement-8139 June 25, 2026 17:30
"summary": "CometVisu Backend for openHAB affected by SSRF/XSS",
"details": "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.\n\nFurthermore, 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.)\n\nThis vulnerability was discovered with the help of CodeQL's [Server-side request forgery](https://codeql.github.com/codeql-query-help/java/java-ssrf/) query.\n\n## Impact\n\nThis issue may lead up to Remote Code Execution (RCE) when chained with other vulnerabilities (see: GHSL-2024-007).",
"severity": [
{

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to understand: Why should this be removed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants