{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.11.10"
                  },
                  {
                    "fixed": "1.11.16"
                  }
                ],
                "source": "DESCRIPTION"
              },
              {
                "range": [
                  {
                    "fixed": "23787842c2013db318e82d6987469fc8b17df0f8"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "e8332fd9d5607ae7866e27936b4376ea1053ae03"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "81317309cf6b2af387b9aec48e9d2d988942fa28"
            },
            {
              "fixed": "4d7f6fccc232fea91cc721528c6d687092a00eaa"
            },
            {
              "fixed": "23787842c2013db318e82d6987469fc8b17df0f8"
            },
            {
              "fixed": "e8332fd9d5607ae7866e27936b4376ea1053ae03"
            }
          ],
          "repo": "https://github.com/chamilo/chamilo-lms",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "Chamilo LMS 1.11.10 before 1.11.16 contains an unauthenticated SQL injection vulnerability in the searchOptionsFromTags function through the options parameter of extra_field.ajax.php. Attackers can send POST requests with a malicious JSON options array to inject SQL into the IN clause and extract database information. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.",
  "id": "CVE-2021-48021",
  "modified": "2026-11-19T21:45:56.186121729Z",
  "published": "2026-11-18T16:17:50.097Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/chamilo-lms-sqli.yaml"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/chamilo-lms-1.11.10-1.11.16-sql-injection-via-extra-field-ajax-php"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/chamilo-lms-1.11.10-before-1.11.16-sql-injection-via-extra-field-ajax-php"
    },
    {
      "type": "FIX",
      "url": "https://github.com/chamilo/chamilo-lms/commit/23787842c2013db318e82d6987469fc8b17df0f8"
    },
    {
      "type": "FIX",
      "url": "https://github.com/chamilo/chamilo-lms/commit/e8332fd9d5607ae7866e27936b4376ea1053ae03"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}