CVE-2015-3178 json
Moodle cross-site scripting (XSS) vulnerability
published 11y ago modified 4mo ago also GHSA-9fmw-m4qx-6cq8 , EUVD-2022-3364
- cvss
- 3.5
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
Cross-site scripting (XSS) vulnerability in the external_format_text 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.
Patch / fix
- packagist moodle/moodle 2.6.11, 2.7.8, 2.8.6
Is CVE-2015-3178 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2015-3178 updated cvss 5.8
moodle: several flaws fixed in 2.9, 2.8.6, 2.7.8, 2.6.11
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.45% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | <2.6.11 >=2.7.0, <2.7.8 >=2.8.0, <2.8.6 |
2.6.11 2.7.8 2.8.6 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/moodle/moodle/commit/28947c1d7d9c53781989b9da7ceb2cafdd144749
web
-
github.com
/moodle/moodle/commit/2c7d13dba37aa0c850c62037b951efd6dc1b0f78
web
-
github.com
/moodle/moodle/commit/77067fbb3a248ac2f1fa4b3c20e5b81f768940e5
web
-
github.com
/moodle/moodle/commit/7f5bd0da0e25feb3b6da3908b6672a58af82e12f
web
-
github.com
/moodle/moodle/commit/b4da1e0ae4f63ef0bb14b8bf5c0b86cd00f2af4b
web
-
github.com
/moodle/moodle/commit/d62d36c657a5df45ee286722490abb7901381da6
web
-
moodle.org
/mod/forum/discuss.php?d=313685
web, vendor-advisory
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-49718
web
-
securitytracker.com
/id/1032358
vdb-entry
-
securityfocus.com
/bid/74726
vdb-entry
-
openwall.com
/lists/oss-security/2015/05/18/1
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2015-3178
advisory
-
github.com
/moodle/moodle
package
-
web.archive.org
/web/20200228054910/http://www.securityfocus.com/bid/74726
web
-
web.archive.org
/web/20201201000000*/http://www.securitytracker.com/id/1032358
web
Sources
- CVE List CVE-2015-3178
- GitHub Advisory GHSA-9fmw-m4qx-6cq8
- NVD CVE-2015-3178
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.