# HAL Cross Site Scripting (XSS) vulnerability of user input when storing it in a data store

Advisory record · `GHSA-f7jh-m6wp-jm7f`

- **Identifiers:** `GHSA-f7jh-m6wp-jm7f` · `CVE-2025-2901`
- **State:** Confirmed
- **Severity:** CVSS 4.6 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-79](https://cwe.mitre.org/data/definitions/79.html)
- **Tags:** [Cross-site scripting (XSS)](https://agentprime.io/advisories/tag/xss.md)
- **Published:** 6 May 2025
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 6 May 2025, 18:51 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.jboss.hal:hal-console` (Maven): affected `<3.7.11.Final`; fixed in `3.7.11.Final`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The hal-console package before 3.7.11.Final has a stored cross-site scripting flaw: user input is not sanitized before storage and is later shown in web pages. An attacker who can submit such input can run scripts in the browsers of users who view those pages. Upgrade to 3.7.11.Final; no workaround is listed.

Written 2 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 4.6 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 14:17 UTC: First seen by agentprime
- 31 Oct 2026, 14:17 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-f7jh-m6wp-jm7f)

## Sources

- [GitHub Advisory Database: GHSA-f7jh-m6wp-jm7f](https://github.com/advisories/GHSA-f7jh-m6wp-jm7f)
- [OSV: GHSA-f7jh-m6wp-jm7f](https://osv.dev/vulnerability/GHSA-f7jh-m6wp-jm7f)
- <https://github.com/hal/console/security/advisories/GHSA-f7jh-m6wp-jm7f>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-2901>
- <https://github.com/hal/console/commit/216de3b8aa82ea92df10cc296d88c68467cf2c52>
- <https://access.redhat.com/security/cve/CVE-2025-2901>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2355685>
- <https://github.com/hal/console>
- <https://github.com/hal/console/releases/tag/v3.7.11>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-f7jh-m6wp-jm7f>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f7jh-m6wp-jm7f/>. Everything for agents: <https://agentprime.io/llms.txt>.
