# CVE-2025-3984: Apereo CAS Groovy Code RegisteredServiceSimpleFormController.java saveService code injection

- Severity: Low 2.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-27T20:00:08.108Z
- Modified: 2026-06-17T09:21:03.577Z
- Also known as: GHSA-37pq-893f-g7q5
- Weaknesses: CWE-74, CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in Apereo CAS 5.2.6 and classified as critical. Affected by this issue is the function saveService of the file cas-5.2.6\webapp-mgmt\cas-management-webapp-support\src\main\java\org\apereo\cas\mgmt\services\web\RegisteredServiceSimpleFormController.java of the component Groovy Code Handler. The manipulation leads to code injection. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

(As written by CVE List.)

## Affected

- Apereo CAS: 5.2.6
- org.apereo.cas:cas-management-webapp-support (Maven): up to 5.2.6
- apereo central_authentication_service: 5.2.6

## Every score

- VulDB: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.0 Medium `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 4.6 Medium `AV:N/AC:H/Au:S/C:P/I:P/A:P`
- GitHub: CVSS:3.1 5.0 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://wx.mail.qq.com/s?k=ilW4ixcMaVgGU49Dij> (exploit, not-applicable, web)
- <https://vuldb.com/?id.306320> (technical-description, third-party-advisory, vdb-entry, web)
- <https://vuldb.com/?ctiid.306320> (permissions-required, signature, vdb-entry, web)
- <https://vuldb.com/?submit.557100> (third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-3984> (advisory)
- <https://github.com/apereo/cas> (package)

## Sources

- CVE List: [CVE-2025-3984](https://www.cve.org/CVERecord?id=CVE-2025-3984), CVE Terms of Use, modified 2025-04-28
- GitHub Advisory Database: [GHSA-37pq-893f-g7q5](https://github.com/advisories/GHSA-37pq-893f-g7q5), CC-BY-4.0, modified 2025-11-05
- NVD: [CVE-2025-3984](https://nvd.nist.gov/vuln/detail/CVE-2025-3984), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-3984 · Whole record: https://cve.day/CVE-2025-3984.json · Rebuilt by cve.day 2026-11-25T22:58:56.965Z
