{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "15.0.15"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "2da8cf7d55e7dcf49a5a1c1aa2a34e81a8fdb27a"
            }
          ],
          "repo": "https://github.com/claroline/claroline",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-434"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142271.json"
  },
  "details": "Claroline through 15.0.15 contains an unrestricted file upload vulnerability that allows authenticated quiz editors to write PHP files by supplying a crafted image type in Graphic questions. Attackers can set types like image/php so GraphicQuestionSerializer writes base64 data into the public data directory, executing code as the web server or running script in the Claroline origin.",
  "id": "CVE-2026-142271",
  "modified": "2026-12-02T17:45:27.384886441Z",
  "published": "2026-12-02T16:49:26.712Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142271.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/claroline/Claroline"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/claroline/Claroline/blob/15.0.15/src/main/core/Manager/FileManager.php#L151-L193"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/claroline/Claroline/blob/15.0.15/src/plugin/exo/Serializer/Item/Type/GraphicQuestionSerializer.php#L97-L111"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142271"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/claroline-through-15.0.15-unrestricted-file-upload-via-quiz-graphic-question-images"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Claroline through 15.0.15 Unrestricted File Upload via Quiz Graphic Question Images"
}