CVE-2017-12156
Moodle XSS Vulnerability
Moodle 3.x has XSS in the contact form on the "non-respondents" page in non-anonymous feedback.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
Moodle 3.x has XSS in the contact form on the "non-respondents" page in non-anonymous feedback.
- Record
CVE-2017-12156- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
Moodle 3.x has XSS in the contact form on the "non-respondents" page in non-anonymous feedback.
- Record
CVE-2017-12156- Updated
- 2026-11-02
EUVDEUVD-2022-3034 No score
Moodle 3.x has XSS in the contact form on the "non-respondents" page in non-anonymous feedback.
- Record
EUVD-2022-3034- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-7mfw-g8x4-rq2w
6.1
Moodle XSS Vulnerability
Moodle 3.x has XSS in the contact form on the "non-respondents" page in non-anonymous feedback.
- Record
GHSA-7mfw-g8x4-rq2w- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
Moodle 3.x has XSS in the contact form on the "non-respondents" page in non-anonymous feedback.
- Record
CVE-2017-12156- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-7mfw-g8x4-rq2w
6.1
Moodle XSS Vulnerability
Moodle 3.x has XSS in the contact form on the "non-respondents" page in non-anonymous feedback.
- Record
GHSA-7mfw-g8x4-rq2w- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVUBUNTU-CVE-2017-12156
6.1
Moodle 3.x has XSS in the contact form on the "non-respondents" page in non-anonymous feedback.
- Record
UBUNTU-CVE-2017-12156- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
3.3.0 to 3.3.1 | 3.3.2 |
moodle/moodlePackagist |
3.2.0 to 3.2.4 | 3.2.5 |
moodle/moodlePackagist |
through 3.1.7 | 3.1.8 |
moodle/moodlePackagist |
3.3.0 up to 3.3.2, plus listed versions v3.3.0v3.3.1 |
3.3.2 |
moodle/moodlePackagist |
3.2.0 up to 3.2.5, plus listed versions v3.2.0v3.2.1v3.2.2v3.2.3v3.2.4 |
3.2.5 |
moodle/moodlePackagist |
before 3.1.8, plus listed versions v2.3.10v2.3.11v2.3.4v2.3.5v2.3.6 Show 45 moreShow lessv2.3.7v2.3.8v2.3.9v2.4.0v2.4.0-rc1v2.4.1v2.4.10v2.4.11v2.4.2v2.4.3v2.4.4v2.4.5v2.4.6v2.4.7v2.4.8v2.4.9v2.5.0v2.5.0-betav2.5.0-rc1v2.5.1v2.5.2v2.5.3v2.5.4v2.5.5v2.5.6v2.5.7v2.5.8v2.5.9v2.6.0v2.6.0-betav2.6.0-rc1v2.6.1v2.6.10v2.6.11v2.6.2v2.6.3v2.6.4v2.6.5v2.6.6v2.6.7v2.6.8v2.6.9v2.7.0v2.7.0-betav2.7.0-rc1 |
3.1.8 |
moodleUbuntu:Pro:16.04:LTS |
All versions, plus listed versions 2.7.9+dfsg-12.7.10+dfsg-12.7.11+dfsg-12.7.11+dfsg-22.7.12+dfsg-13.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1 |
None known |
moodleUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 3.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| 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-2017-12156 is a medium vulnerability (CVSS 6.1) in Moodle, published September 18, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.23%, the 69th percentile. Fixed in moodle/moodle 3.3.2.
References
securityfocus.com/bid/100867
moodle.org/mod/forum/discuss.php?d=358585
nvd.nist.gov/vuln/detail/CVE-2017-12156
github.com/moodle/moodle/commit/a39d2976fe5e91da7a28a8512d5b94d4a27067b8
web.archive.org/web/20210124104026/http://www.securityfocus.com/bid/100867
github.com/advisories/GHSA-7mfw-g8x4-rq2w
github.com/moodle/moodle
ubuntu.com/security/CVE-2017-12156
cve.org/CVERecord?id=CVE-2017-12156
Left out here: 77 versions. The JSON record has them.