CVE-2014-3551: Moodle multiple cross-site scripting (XSS) vulnerabilities
3.5
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.56184%
CWE
Published
5/13/2022
Updated
1/24/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
AV:N/AC:M/Au:S/C:N/I:P/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
moodle/moodle | composer | < 2.4.11 | 2.4.11 |
moodle/moodle | composer | >= 2.5.0, < 2.5.7 | 2.5.7 |
moodle/moodle | composer | >= 2.6.0, < 2.6.4 | 2.6.4 |
moodle/moodle | composer | >= 2.7.0, < 2.7.1 | 2.7.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped user input in rubric fields. The JavaScript code in rubriceditor.js
directly injected values into innerHTML without escaping (fixed via Y.Escape.html
). In renderer.php
, PHP code outputted criterion/level data using htmlspecialchars
(insufficient in some contexts) or raw values, later patched to use Moodle's s()
function for proper context-aware escaping. These functions handled the vulnerable qualification/rating fields and were explicitly modified in the security patch.