Skip to content
Heist/ feed
Back to feed
Low

Apereo CAS Groovy Code RegisteredServiceSimpleFormController.java saveService code injection

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-3984
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 01:42 UTC · Revision 1

Source evidence

Apereo CAS Groovy Code RegisteredServiceSimpleFormController.java saveService code injection

core-osv · Original source

Published 27 Apr 2025, 20:00 UTC

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.

osv:CVE-2025-3984
Complete source record
{
  "id": "1c5abb6fc850b18548067c8f337f5def594338a95e40cf47b9cde97b87f4e487",
  "url": "https://osv.dev/vulnerability/CVE-2025-3984",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Apereo CAS Groovy Code RegisteredServiceSimpleFormController.java saveService code injection",
    "summary": "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.",
    "evidence": "osv:CVE-2025-3984",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-3984",
      "aliases": [
        "CVE-2025-3984",
        "GHSA-37pq-893f-g7q5"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apereo/cas",
              "type": "GIT",
              "events": [
                {
                  "introduced": "21bc89f24324cd19d49515dc2dace9cd1f19ff2d"
                },
                {
                  "last_affected": "21bc89f24324cd19d49515dc2dace9cd1f19ff2d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apereo:central_authentication_service:5.2.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.2.6"
                      },
                      {
                        "last_affected": "5.2.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.2.6",
            "v5.2.6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-3984.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.096851499Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3984.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-3984",
        "https://vuldb.com/?id.306320",
        "https://vuldb.com/?submit.557100",
        "https://vuldb.com/?ctiid.306320",
        "https://wx.mail.qq.com/s?k=ilW4ixcMaVgGU49Dij"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74",
          "CWE-94"
        ],
        "cna_assigner": "VulDB",
        "unresolved_ranges": [
          {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.2.6"
                  },
                  {
                    "last_affected": "5.2.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandaloneSingleVersion"
              }
            ]
          }
        ],
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/3xxx/CVE-2025-3984.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-3984",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491712,
  "published_at": "2025-04-27T20:00:08.108+00:00"
}