KeygraphLabs · CVE MCP

CVE-2016-2153 · redhat

CVE-2016-2153

Cross-site scripting (XSS) vulnerability in the advanced-search feature in mod_data in Moodle through 2.6.11, 2.7.x before 2.7.13, 2.8.x before 2.8.11, 2.9.x before 2.9.5, and 3.0.x before 3.0.3 allows remote attackers to inject arbitrary web script or HTML via a crafted field in a URL, as demonstrated by a search form field.

Published 2016-05-22, last changed 2026-06-17. Weakness: CWE-79.

CVSS
6.1
medium, from NVD
EPSS
1.47%
percentile 74.6%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: moodle/moodle 2.7.13, 2.8.11, 2.9.5, 3.0.3 (Packagist) (each is the fix for its own release line). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in moodle/moodle by 87e60e5299, 8f95eac163, a5fae3b0d2. Functions changed by the fix: display_add_field, display_search_field, data_print_preference_form. Confidence: inferred (code changed near the fix, but no record names this exact commit as the fix).

Timeline

2016-05-22Published
2022-05-13Package advisory GHSA-mj85-3hqq-r6r9
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.47%
2026-12-03Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-mj85-3hqq-r6r9moodle/moodle (Packagist)2.7.13
GHSA-mj85-3hqq-r6r9moodle/moodle (Packagist)2.8.11
GHSA-mj85-3hqq-r6r9moodle/moodle (Packagist)2.9.5
GHSA-mj85-3hqq-r6r9moodle/moodle (Packagist)3.0.3

Also known as: GHSA-mj85-3hqq-r6r9

Related

CVEPublishedCVSSSummary
CVE-2026-260472026-02-216.5Moodle: moodle: uncontrolled resource consumption in tex formula editor leading to denial of service
CVE-2026-260452026-02-217.2Moodle: moodle: improper validation in file restore functionality leading to remote code execution
CVE-2025-678572026-02-035.3Moodle: moodle: data exposure of user identifiers in urls
CVE-2025-678562026-02-039.8Moodle: moodle: privilege escalation via incomplete role checks in badge awarding
CVE-2025-678552026-02-036.1Mooodle: mooodle: information disclosure and script execution via reflected cross-site scripting
CVE-2025-678532026-02-037.5Moodle: moodle: brute-force facilitation due to missing rate limiting in confirmation email service
CVE-2025-678522026-02-036.1Moodle: moodle: open redirect vulnerability in oauth login flow allows redirection to malicious sites.
CVE-2025-678512026-02-037.8Moodle: moodle: formula injection allows arbitrary formula execution via unescaped data export

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2016-2153, or call /api/v1/vulnerabilities/CVE-2016-2153. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org