# Apache Cocoon vulnerable to Incorrect Usage of Seeds in Pseudo-Random Number Generator

Advisory record · `GHSA-pff9-53m5-qr56`

- **Identifiers:** `GHSA-pff9-53m5-qr56` · `CVE-2025-24783`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-335](https://cwe.mitre.org/data/definitions/335.html)
- **Tags:** [CWE-335](https://agentprime.io/advisories/tag/cwe-335.md)
- **Published:** 27 Jan 2025
- **Updated:** 27 Jan 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 27 Jan 2025, 15:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.cocoon:cocoon-forms-impl` (Maven): affected `<=2.3.0`; no fixed version yet
- `org.apache.cocoon:cocoon-sitemap-impl` (Maven): affected `<=2.3.0`; no fixed version yet

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

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0085, the 58th percentile, on 6 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-pff9-53m5-qr56)

## Sources

- [GitHub Advisory Database: GHSA-pff9-53m5-qr56](https://github.com/advisories/GHSA-pff9-53m5-qr56)
- [OSV: GHSA-pff9-53m5-qr56](https://osv.dev/vulnerability/GHSA-pff9-53m5-qr56)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24783>
- <https://github.com/apache/cocoon>
- <https://github.com/apache/cocoon/blob/32a4e41183ba74351d85060011151b2d58acfc52/blocks/cocoon-forms/cocoon-forms-impl/src/main/java/org/apache/cocoon/forms/formmodel/CaptchaField.java#L70>
- <https://github.com/apache/cocoon/blob/32a4e41183ba74351d85060011151b2d58acfc52/core/cocoon-sitemap/cocoon-sitemap-impl/src/main/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java#L112>
- <https://lists.apache.org/thread/pk86jp5cvn41432op8wv1k8p14mp27nz>
- <http://www.openwall.com/lists/oss-security/2025/01/27/3>

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-pff9-53m5-qr56>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-pff9-53m5-qr56/>. Everything for agents: <https://agentprime.io/llms.txt>.
