← Back to CVE Explorer

CVE-2025-60507

Full vulnerability record from the local CVENow database.

Description

Cross site scripting vulnerability in Moodle GeniAI plugin (local_geniai) 2.3.6. An authenticated user with Teacher role can upload a PDF containing embedded JavaScript. The assistant outputs a direct HTML link to the uploaded file without sanitization. When other users (including Students or Administrators) click the link, the payload executes in their browser.

Severity
HIGH
CVSS score
8.9 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2025-10-21 18:15:36.457000
Last modified
2026-11-05 22:10:00.203000
View original CVE JSON
{
  "id": "CVE-2025-60507",
  "sourceIdentifier": "[email protected]",
  "published": "2025-10-21T18:15:36.457",
  "lastModified": "2026-11-05T22:10:00.203",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Cross site scripting vulnerability in Moodle GeniAI plugin (local_geniai) 2.3.6. An authenticated user with Teacher role can upload a PDF containing embedded JavaScript. The assistant outputs a direct HTML link to the uploaded file without sanitization. When other users (including Students or Administrators) click the link, the payload executes in their browser."
    },
    {
      "lang": "es",
      "value": "Vulnerabilidad de scripting entre sitios en el plugin Moodle GeniAI (local_geniai) 2.3.6. Un usuario autenticado con rol de Profesor puede subir un PDF que contiene JavaScript incrustado. El asistente genera un enlace HTML directo al archivo subido sin saneamiento. Cuando otros usuarios (incluidos Estudiantes o Administradores) hacen clic en el enlace, la carga útil se ejecuta en su navegador."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "n/a",
          "product": "n/a",
          "versions": [
            {
              "version": "n/a",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L",
          "baseScore": 8.9,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "LOW",
          "userInteraction": "REQUIRED",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "LOW"
        },
        "exploitabilityScore": 2.3,
        "impactScore": 6.0
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2025-10-21T18:30:08.964687Z",
          "id": "CVE-2025-60507",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-79"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/onurcangnc/moodle_genai_plugin_xss",
      "source": "[email protected]"
    },
    {
      "url": "https://moodle.org/plugins/local_geniai",
      "source": "[email protected]"
    },
    {
      "url": "https://moodle.org/security/",
      "source": "[email protected]"
    },
    {
      "url": "https://onurcangenc.com.tr/posts/moodle-genia%C4%B1-plugin-vulnerability-stored-reflected-xss-via-pdf-upload-and-chatbot-%C4%B1nput/",
      "source": "[email protected]"
    }
  ]
}