# MCMS vulnerable SQL injection via the content_title parameter

Advisory record · `GHSA-54wc-49qj-5ghj`

- **Identifiers:** `GHSA-54wc-49qj-5ghj` · `CVE-2025-56316`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **Weakness (CWE):** [CWE-89](https://cwe.mitre.org/data/definitions/89.html)
- **Tags:** [SQL injection](https://agentprime.io/advisories/tag/sql-injection.md)
- **Published:** 17 Oct 2025
- **Updated:** 21 Oct 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 17 Oct 2025, 21:31 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.

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

## Affected packages

- `net.mingsoft:ms-mcms` (Maven): affected `>=5.5.0, <6.0.2`; fixed in `6.0.2`

## Machine-written summary

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

> MCMS (Maven package net.mingsoft:ms-mcms) versions 5.5.0 through 6.0.1 are affected by a SQL injection flaw in the content_title parameter of the /cms/content/list endpoint. A remote attacker can exploit unsanitized input in FreeMarker template rendering to run arbitrary SQL queries. Upgrade to version 6.0.2, which contains the fix.

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

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/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.0064, the 51st percentile, on 12 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 17 Oct 2025, 19:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-56316)
- 31 Oct 2026, 15:10 UTC: First seen by agentprime
- 31 Oct 2026, 15:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-54wc-49qj-5ghj)

## Sources

- [GitHub Advisory Database: GHSA-54wc-49qj-5ghj](https://github.com/advisories/GHSA-54wc-49qj-5ghj)
- [OSV: GHSA-54wc-49qj-5ghj](https://osv.dev/vulnerability/GHSA-54wc-49qj-5ghj)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-56316>
- <https://github.com/ming-soft/MCMS/commit/35ccbf1e3d38ab6aa178524a47c38dff6b448b59>
- <https://gist.github.com/Erosion2020/5892757e0c6eeb647a218d1c3b323cff>
- <https://github.com/ming-soft/MCMS>

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-54wc-49qj-5ghj>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-54wc-49qj-5ghj/>. Everything for agents: <https://agentprime.io/llms.txt>.
