{
  "id": "CVE-2026-102578",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-102578",
  "published_at": "2026-09-30T08:36:01.859Z",
  "title": "Moodle: sql injection in question bank web service",
  "cvss": {
    "score": 8.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-10-20T10:01:19Z",
    "first_seen_at": "2026-11-14T14:50:35.824Z",
    "days_after_publication": 20.1,
    "repo": "caveeroo/CVE-2026-102578",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in Moodle. An authenticated attacker with access to the question bank web service can submit unsanitized input directly into database queries, resulting in a SQL (Structured Query Language) injection vulnerability. This issue could allow an attacker to view, alter, or delete sensitive data stored in the underlying database.",
  "cwe": "CWE-89",
  "cpes": [
    "cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 5.5,
    "nvd": 8.8
  },
  "repos": [
    {
      "repo": "caveeroo/CVE-2026-102578",
      "url": "https://github.com/caveeroo/CVE-2026-102578",
      "created_at": "2026-10-20T10:01:19Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 10,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-03-21T16:39:10Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003e= 5.2.0, \u003c 5.2.2",
          "\u003e= 5.1.0, \u003c 5.1.6",
          "\u003e= 5.0.0, \u003c 5.0.9",
          "\u003c 4.5.13"
        ],
        "fixed_in": [
          "5.2.2",
          "5.1.6",
          "5.0.9",
          "4.5.13"
        ]
      }
    ],
    "upgrade": [
      "Upgrade the affected product to 5.2.2 or 5.1.6 or 5.0.9 or 4.5.13 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/login/index.php",
      "protocol": "https",
      "repos": [
        "caveeroo/CVE-2026-102578"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "caveeroo/CVE-2026-102578/poc.py:1168"
      ]
    },
    {
      "method": "POST",
      "path_template": "/lib/ajax/service.php",
      "query_markers": [
        "{var}="
      ],
      "headers": [
        {
          "name": "X-Requested-With",
          "value": "XMLHttpRequest"
        }
      ],
      "content_type": "application/json",
      "protocol": "https",
      "repos": [
        "caveeroo/CVE-2026-102578"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "caveeroo/CVE-2026-102578/poc.py:1262"
      ]
    }
  ],
  "rules": []
}
