CVE-2014-2571
Moodle cross-site scripting (XSS) vulnerability
Cross-site scripting (XSS) vulnerability in the quiz_question_tostring function in mod/quiz/editlib.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote authenticated users to inject arbitrary web script or HTML via a quiz question.
Exploit likelihood
What each source reports
NVD Score used
3.5
Cross-site scripting (XSS) vulnerability in the quiz_question_tostring function in mod/quiz/editlib.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote authenticated users to inject arbitrary web script or HTML via a quiz question.
- Record
CVE-2014-2571- CVSS 2.0
- 3.5 Low
AV:N/AC:M/Au:S/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
Cross-site scripting (XSS) vulnerability in the quiz_question_tostring function in mod/quiz/editlib.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote authenticated users to inject arbitrary web script or HTML via a quiz question.
- Record
CVE-2014-2571- Updated
- 2026-11-02
EUVDEUVD-2022-2923 No score
Cross-site scripting (XSS) vulnerability in the quiz_question_tostring function in mod/quiz/editlib.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote authenticated users to inject arbitrary web script or HTML via a quiz question.
- Record
EUVD-2022-2923- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-75c6-xqwr-v2r9 No score
Moodle cross-site scripting (XSS) vulnerability
Cross-site scripting (XSS) vulnerability in the quiz_question_tostring function in mod/quiz/editlib.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote authenticated users to inject arbitrary web script or HTML via a quiz question.
- Record
GHSA-75c6-xqwr-v2r9- Weakness
- CWE-79
- Updated
- 2026-11-02
OSVGHSA-75c6-xqwr-v2r9 No score
Moodle cross-site scripting (XSS) vulnerability
Cross-site scripting (XSS) vulnerability in the quiz_question_tostring function in mod/quiz/editlib.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote authenticated users to inject arbitrary web script or HTML via a quiz question.
- Record
GHSA-75c6-xqwr-v2r9- Weakness
- CWE-79
- Updated
- 2026-11-02
OSVMGASA-2014-0160 No score
Updated moodle packages fix multiple security vulnerabilities
Updated moodle package fixes security vulnerabilities:
In Moodle before 2.4.9, question strings were not being filtered correctly possibly allowing cross site scripting, as quiz_question_tostring can cause invalid HTML (CVE-2014-2571).
Feedback Availability dates not honored in complete.php in Moodle before 2.4.9, therefore it was possible to start a Feedback activity while it was supposed to be closed (CVE-2014-0127).
Broken access control vulnerability in Moodle before 2.4.9 with /mod/chat/chat_ajax.php, where capabilities to chat were being checked at the start of a chat, but not during, so changes were not effective immediately (CVE-2014-0122).
In Moodle before 2.4.9, there were missing access checks on Wiki pages allowing students to see pages of other students' individual wikis, through the Recent activity block (CVE-2014-0123).
In Moodle before 2.4.9, cross site scripting was possible with Flowplayer (CVE-2013-7341).
In Moodle before 2.4.9, Forum and Quiz were showing users' email addresses when settings were supposed to be preventing this (CVE-2014-0124).
In Moodle before 2.4.9, alias links to items in an Alfresco repository were provided with information that would allow someone to impersonate the file owner in Alfresco (CVE-2014-0125).
Cross Site Request Forgery in Moodle before 2.4.9 in enrol/imsenterprise/importnow.php, due to inadequate session checking when triggering the import of IMS Enterprise identities (CVE-2014-0126).
- Record
MGASA-2014-0160- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
before 2.4.9 | 2.4.9 |
moodle/moodlePackagist |
2.5.0 up to 2.5.5 | 2.5.5 |
moodle/moodlePackagist |
2.6.0 up to 2.6.2 | 2.6.2 |
moodle/moodlePackagist |
before 2.4.9, plus listed versions v2.3.10v2.3.11v2.3.4v2.3.5v2.3.6 Show 13 moreShow lessv2.3.7v2.3.8v2.3.9v2.4.0v2.4.0-rc1v2.4.1v2.4.2v2.4.3v2.4.4v2.4.5v2.4.6v2.4.7v2.4.8 |
2.4.9 |
moodle/moodlePackagist |
2.5.0 up to 2.5.5, plus listed versions v2.5.0v2.5.1v2.5.2v2.5.3v2.5.4 |
2.5.5 |
moodle/moodlePackagist |
2.6.0 up to 2.6.2, plus listed versions v2.6.0v2.6.1 |
2.6.2 |
moodleMageia:3 From an advisory covering 8 CVEs |
before 2.4.9-1.mga3 | 2.4.9-1.mga3 |
moodleMageia:4 From an advisory covering 8 CVEs |
before 2.4.9-1.mga4 | 2.4.9-1.mga4 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2014-2571 is a low vulnerability (CVSS 3.5) in Moodle, published March 22, 2014. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.97%, the 62nd percentile. Fixed in moodle/moodle 2.4.9.
References
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-43690
openwall.com/lists/oss-security/2014/03/17/1
moodle.org/mod/forum/discuss.php?d=256416
nvd.nist.gov/vuln/detail/CVE-2014-2571
github.com/moodle/moodle/commit/217d839ded7026ed1b1280e1c296bc80a4036023
github.com/moodle/moodle/commit/5da73345fdd46cef912b229b2cfae2a26e36efd8
Show 15 moreShow less
github.com/moodle/moodle/commit/7051f3a8828665f4fab37c8db91322fec85a64db
github.com/moodle/moodle/commit/fd4b7f57399bed85db0d4066ba12c2633ce87ba3
github.com/advisories/GHSA-75c6-xqwr-v2r9
github.com/moodle/moodle
advisories.mageia.org/MGASA-2014-0160.html
moodle.org/mod/forum/discuss.php?d=256417
moodle.org/mod/forum/discuss.php?d=256418
moodle.org/mod/forum/discuss.php?d=256419
moodle.org/mod/forum/discuss.php?d=256420
moodle.org/mod/forum/discuss.php?d=256421
moodle.org/mod/forum/discuss.php?d=256422
moodle.org/mod/forum/discuss.php?d=256423
docs.moodle.org/dev/Moodle_2.4.9_release_notes
moodle.org/mod/forum/discuss.php?d=255903
bugs.mageia.org/show_bug.cgi?id=13005