Skip to content
Heist/ feed
Back to feed
Medium

TokenController formName not sanitized in hidden input

Type: advisorySources: OSV

The SuluFormBundle adds support for creating dynamic forms in Sulu Admin. The TokenController get parameter formName is not sanitized in the returned input field which leads to XSS. This vulnerability is fixed in 2.5.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-37156
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 10:52 UTC · Revision 1

Source evidence

TokenController formName not sanitized in hidden input

core-osv · Original source

Published 6 Jun 2024, 16:03 UTC

The SuluFormBundle adds support for creating dynamic forms in Sulu Admin. The TokenController get parameter formName is not sanitized in the returned input field which leads to XSS. This vulnerability is fixed in 2.5.3.

osv:CVE-2024-37156
Complete source record
{
  "id": "25508ea21e7f51cf35c79eb521b66cdc36616fa777abd69240c7973f8cc33991",
  "url": "https://osv.dev/vulnerability/CVE-2024-37156",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "TokenController formName not sanitized in hidden input",
    "summary": "The SuluFormBundle adds support for creating dynamic forms in Sulu Admin. The TokenController get parameter formName is not sanitized in the returned input field which leads to XSS. This vulnerability is fixed in 2.5.3.",
    "evidence": "osv:CVE-2024-37156",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-37156",
      "aliases": [
        "CVE-2024-37156",
        "GHSA-rrvc-c7xg-7cf3"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sulu/suluformbundle",
              "type": "GIT",
              "events": [
                {
                  "introduced": "810ad0c6814d42179ed9e4ac72468cc52b473c9b"
                },
                {
                  "fixed": "572776c115da6a7e8330e9f312645ddbb70afdc5"
                },
                {
                  "fixed": "3f341b71a7309cbc8fd2c5bff894c654d1679b17"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sulu:suluformbundle:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.5.3"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "3f341b71a7309cbc8fd2c5bff894c654d1679b17"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.5.2",
            "2.5.1",
            "2.5.0",
            "2.4.0",
            "2.3.0",
            "2.2.1",
            "2.2.0",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37156.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:28.307550545Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37156.json",
        "https://github.com/sulu/SuluFormBundle/security/advisories/GHSA-rrvc-c7xg-7cf3",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-37156",
        "https://github.com/sulu/SuluFormBundle/commit/3f341b71a7309cbc8fd2c5bff894c654d1679b17"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79",
          "CWE-80"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37156.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-37156",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 494665,
  "published_at": "2024-06-06T16:03:46.771+00:00"
}