GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GHSA-q6vw-27c6-jv9cmedium5.4

Moodle Persistent Cross-site Scripting (XSS)

Check your stack

The advisory, in context

Persistent XSS in /course/modedit.php of Moodle through 3.7.2 allows authenticated users (Teacher and above) to inject JavaScript into the session of another user (e.g., enrolled student or site administrator) via the introeditor[text] parameter. NOTE: the discoverer and vendor disagree on whether Moodle customers have a reasonable expectation that anyone authenticated as a Teacher can be trusted with the ability to add arbitrary JavaScript (this ability is not documented on Moodle's Teacher_role page). Because the vendor has this expectation, they have stated "this report has been closed as a false positive, and not a bug."

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

Ecosystem versions

From 3.7 through 3.7.2 (inclusive)

No fix recorded for this interval.

6 explicitly affected versions

v3.7.0, v3.7.0-beta, v3.7.0-rc1, v3.7.0-rc2, v3.7.1, v3.7.2

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "3.7"
        },
        {
          "last_affected": "3.7.2"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v3.7.0",
    "v3.7.0-beta",
    "v3.7.0-rc1",
    "v3.7.0-rc2",
    "v3.7.1",
    "v3.7.2"
  ]
}

References