# Spring Framework allows applications to expose STOMP over WebSocket endpoints

Advisory record · `GHSA-p5hg-3xm3-gcjg`

- **Identifiers:** `GHSA-p5hg-3xm3-gcjg` · `CVE-2018-1270`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html) · [CWE-358](https://cwe.mitre.org/data/definitions/358.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md) · [CWE-358](https://agentprime.io/advisories/tag/cwe-358.md)
- **Published:** 17 Oct 2018
- **Updated:** 31 Jan 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 Oct 2018, 20:05 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.
- CVSS score 9.8 (7.0 or more) and EPSS 0.77 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.springframework:spring-messaging` (Maven): affected `>=5.0.0.RELEASE, <5.0.5.RELEASE || <4.3.16.RELEASE`; fixed in `5.0.5.RELEASE`, `4.3.16.RELEASE`

## 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

- 9.8 Critical, CVSS 3.0: `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.77, the 99th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:11 UTC: First seen by agentprime
- 31 Oct 2026, 15:11 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-p5hg-3xm3-gcjg)

## Sources

- [GitHub Advisory Database: GHSA-p5hg-3xm3-gcjg](https://github.com/advisories/GHSA-p5hg-3xm3-gcjg)
- [OSV: GHSA-p5hg-3xm3-gcjg](https://osv.dev/vulnerability/GHSA-p5hg-3xm3-gcjg)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-1270>
- <https://github.com/spring-projects/spring-framework/commit/0009806debb578e884f6dc98bd1f2dc668020021>
- <https://github.com/spring-projects/spring-framework/commit/e0de9126ed8cf25cf141d3e66420da94e350708a>
- <https://www.oracle.com/technetwork/security-advisory/cpujul2019-5072835.html>
- <https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html>
- <https://www.oracle.com/security-alerts/cpuoct2021.html>
- <https://www.oracle.com/security-alerts/cpujul2020.html>
- <https://www.exploit-db.com/exploits/44796>
- <https://web.archive.org/web/20200227125035/https://www.securityfocus.com/bid/103696>
- <https://pivotal.io/security/cve-2018-1270>
- <https://lists.debian.org/debian-lts-announce/2021/04/msg00022.html>
- <https://lists.apache.org/thread.html/rf1bbc0ea4a9f014cf94df9a12a6477d24a27f52741dbc87f2fd52ff2@%3Cissues.geode.apache.org%3E>

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-p5hg-3xm3-gcjg>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-p5hg-3xm3-gcjg/>. Everything for agents: <https://agentprime.io/llms.txt>.
