RCE in Apereo Cas

CVE-2025-3984

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.

EPSS: 0.004 (34.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

Weakness classification (CWE)

References

  • cna@vuldb.com (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
  • cna@vuldb.com (signature, Permissions Required, permissions-required, VDB Entry)
  • cna@vuldb.com (VDB Entry, Third Party Advisory, third-party-advisory)
  • cna@vuldb.com (exploit, Not Applicable)

Frequently asked questions

What is CVE-2025-3984?
CVE-2025-3984 is a medium-severity vulnerability in Apereo Cas, classified under Improper Neutralization of Special Elements in Output Used by a Downstream Component (Injection). CVSS score: 5.0/10. Published 2025-04-27.
How severe is CVE-2025-3984?
Medium severity. CVSS v3 base score is 5.0 out of 10.