CVE-2015-3178: XSS

Published Jun 1, 2015
·
Updated

Cross-site scripting (XSS) vulnerability in the externalformattext function in lib/externallib.php in Moodle through 2.5.9, 2.6.x before 2.6.11, 2.7.x before 2.7.8, and 2.8.x before 2.8.6 allows remote authenticated users to inject arbitrary web script or HTML into an external application via a crafted string that is visible to web services.

Affected Software

38 affected componentsFixes available
composer/moodle/moodle>=2.8.0<2.8.6
2.8.6
composer/moodle/moodle>=2.7.0<2.7.8
2.7.8
composer/moodle/moodle<2.6.11
2.6.11
Moodle moodle<=2.5.9
Moodle moodle=2.5.0
Moodle moodle=2.5.1
Moodle moodle=2.5.2
Moodle moodle=2.5.3
Moodle moodle=2.5.4
Moodle moodle=2.5.5
Moodle moodle=2.5.6
Moodle moodle=2.5.7
Moodle moodle=2.5.8
Moodle moodle=2.6.0
Moodle moodle=2.6.1
Moodle moodle=2.6.2
Moodle moodle=2.6.3
Moodle moodle=2.6.4
Moodle moodle=2.6.5
Moodle moodle=2.6.6
Moodle moodle=2.6.7
Moodle moodle=2.6.8
Moodle moodle=2.6.9
Moodle moodle=2.6.10
Moodle moodle=2.7.0
Moodle moodle=2.7.1
Moodle moodle=2.7.2
Moodle moodle=2.7.3
Moodle moodle=2.7.4
Moodle moodle=2.7.5
Moodle moodle=2.7.6
Moodle moodle=2.7.7
Moodle moodle=2.8.0
Moodle moodle=2.8.1
Moodle moodle=2.8.2
Moodle moodle=2.8.3
Moodle moodle=2.8.4
Moodle moodle=2.8.5

Event History

Jun 1, 2015
CVE Published
via MITRE·07:00 PM
Data Sourced
via MITRE·07:00 PM
Description
May 13, 2022
Advisory Published
via GitHub·01:12 AM

Frequently Asked Questions

1

What is the severity of CVE-2015-3178?

CVE-2015-3178 is classified as a medium severity vulnerability due to its potential to allow cross-site scripting attacks.

2

How do I fix CVE-2015-3178?

To fix CVE-2015-3178, update Moodle to version 2.6.11, 2.7.8, or 2.8.6 or later.

3

Which versions of Moodle are affected by CVE-2015-3178?

CVE-2015-3178 affects Moodle versions up to and including 2.5.9, all 2.6.x versions before 2.6.11, all 2.7.x versions before 2.7.8, and all 2.8.x versions before 2.8.6.

4

What type of vulnerability is CVE-2015-3178?

CVE-2015-3178 is a cross-site scripting (XSS) vulnerability.

5

Who can exploit CVE-2015-3178?

CVE-2015-3178 can be exploited by remote authenticated users.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203