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-6gx2-g773-hv9hmedium6.1

Moodle reflected cross-site scripting vulnerability in policy tool

Check your stack

The advisory, in context

A reflected cross-site scripting vulnerability was discovered in Moodle. This flaw exists due to insufficient sanitization of user-supplied data in policy tool. An attacker can trick the victim to open a specially crafted link that executes an arbitrary HTML and script code in user's browser in context of vulnerable website. This vulnerability may allow an attacker to perform cross-site scripting (XSS) attacks to gain access potentially sensitive information and modification of web pages.

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.9 before 3.9.18

Fixed in 3.9.18

22 explicitly affected versions

v3.9.0, v3.9.0-beta, v3.9.0-rc1, v3.9.0-rc2, v3.9.0-rc3, v3.9.1, v3.9.10, v3.9.11, v3.9.12, v3.9.13, v3.9.14, v3.9.15, v3.9.16, v3.9.17, v3.9.2, v3.9.3, v3.9.4, v3.9.5, v3.9.6, v3.9.7, v3.9.8, v3.9.9

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "3.9"
        },
        {
          "fixed": "3.9.18"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v3.9.0",
    "v3.9.0-beta",
    "v3.9.0-rc1",
    "v3.9.0-rc2",
    "v3.9.0-rc3",
    "v3.9.1",
    "v3.9.10",
    "v3.9.11",
    "v3.9.12",
    "v3.9.13",
    "v3.9.14",
    "v3.9.15",
    "v3.9.16",
    "v3.9.17",
    "v3.9.2",
    "v3.9.3",
    "v3.9.4",
    "v3.9.5",
    "v3.9.6",
    "v3.9.7",
    "v3.9.8",
    "v3.9.9"
  ]
}
Ecosystem versions

From 3.11 before 3.11.11

Fixed in 3.11.11

14 explicitly affected versions

v3.11.0, v3.11.0-beta, v3.11.0-rc1, v3.11.0-rc2, v3.11.1, v3.11.10, v3.11.2, v3.11.3, v3.11.4, v3.11.5, v3.11.6, v3.11.7, v3.11.8, v3.11.9

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "3.11"
        },
        {
          "fixed": "3.11.11"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v3.11.0",
    "v3.11.0-beta",
    "v3.11.0-rc1",
    "v3.11.0-rc2",
    "v3.11.1",
    "v3.11.10",
    "v3.11.2",
    "v3.11.3",
    "v3.11.4",
    "v3.11.5",
    "v3.11.6",
    "v3.11.7",
    "v3.11.8",
    "v3.11.9"
  ]
}
Ecosystem versions

From 4.0 before 4.0.5

Fixed in 4.0.5

10 explicitly affected versions

v4.0.0, v4.0.0-beta, v4.0.0-rc1, v4.0.0-rc2, v4.0.0-rc3, v4.0.0-rc4, v4.0.1, v4.0.2, v4.0.3, v4.0.4

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "4.0"
        },
        {
          "fixed": "4.0.5"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "v4.0.0",
    "v4.0.0-beta",
    "v4.0.0-rc1",
    "v4.0.0-rc2",
    "v4.0.0-rc3",
    "v4.0.0-rc4",
    "v4.0.1",
    "v4.0.2",
    "v4.0.3",
    "v4.0.4"
  ]
}

References