CVE-2012-6112 json
PHP Spellchecker addon for TinyMCE allows attackers to trigger arbitrary outbound HTTP requests
published 2013-01-27 13 y ago modified 2026-06-16 4 mo ago also GHSA-fx5h-3786-h2w6 , EUVD-2022-3849
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
classes/GoogleSpell.php in the PHP Spellchecker (aka Google Spellchecker) addon before 2.0.6.1 for TinyMCE, as used in Moodle 2.1.x before 2.1.10, 2.2.x before 2.2.7, 2.3.x before 2.3.4, and 2.4.x before 2.4.1 and other products, does not properly handle control characters, which allows remote attackers to trigger arbitrary outbound HTTP requests via a crafted string.
Patch / fix
- packagist moodle/moodle 2.1.10, 2.2.7, 2.3.4, 2.4.1
- wordpress Debian 14, Debian 13, Debian 12 3.5.1+dfsg-2
debian advisories DEBIAN-CVE-2012-6112
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2012-6112 updated cvss 5.0
Spellchecker): Control characters not sanitized properly from $lang and $str arguments in _getMatches
-
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
2.29% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | >=2.1.0, <2.1.10 >=2.2.0, <2.2.7 >=2.3.0, <2.3.4 >=2.4.0, <2.4.1 |
2.1.10 2.2.7 2.3.4 2.4.1 |
Classification
- Weakness
-
- CWE-264 Permissions, Privileges, and Access Controls
References
-
github.com
/tinymce/tinymce_spellchecker_php/commit/22910187bfb9edae90c26e10100d8145b505b974
web
-
github.com
/moodle/moodle/commit/6fac8f7f04c9fe7f8bbb54a9c00ec5f9ea4f09e0
web
-
github.com
/moodle/moodle/commit/9803d8fc3ce08c8f8b88ad3a95d9a7c97678a3e3
web
-
github.com
/moodle/moodle/commit/a3243760c243ddad76e91840134009c3681cb16a
web
-
github.com
/moodle/moodle/commit/f938b1a89b8f381129120a37915d1b345333b3fb
web
-
tinymce.com
/forum/viewtopic.php?id=30036
vendor-advisory
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-37283
web
- tinymce.com /develop/changelog/?type=phpspell
-
openwall.com
/lists/oss-security/2013/01/21/1
mailing-list, web
-
moodle.org
/mod/forum/discuss.php?d=220157
web
-
nvd.nist.gov
/vuln/detail/CVE-2012-6112
advisory
-
github.com
/moodle/moodle
package
-
web.archive.org
/web/20121015010345/http://www.tinymce.com/develop/changelog/?type=phpspell
web
-
web.archive.org
/web/20121129021911/http://www.tinymce.com/forum/viewtopic.php?id=30036
web
Sources
- CVE List CVE-2012-6112
- GitHub Advisory GHSA-fx5h-3786-h2w6
- NVD CVE-2012-6112
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.