CVE-2012-6112
PHP Spellchecker addon for TinyMCE allows attackers to trigger arbitrary outbound HTTP requests
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.
Exploit likelihood
What each source reports
NVD Score used
5.0
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.
- Record
CVE-2012-6112- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:P/A:N - Weakness
- CWE-264
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2012-6112- Updated
- 2026-11-02
EUVDEUVD-2022-3849 No score
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.
- Record
EUVD-2022-3849- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fx5h-3786-h2w6 No score
PHP Spellchecker addon for TinyMCE allows attackers to trigger arbitrary outbound HTTP requests
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.
- Record
GHSA-fx5h-3786-h2w6- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2012-6112- Updated
- 2026-11-02
OSVDEBIAN-CVE-2012-6112 No score
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.
- Record
DEBIAN-CVE-2012-6112- Updated
- 2026-11-02
OSVGHSA-fx5h-3786-h2w6 No score
PHP Spellchecker addon for TinyMCE allows attackers to trigger arbitrary outbound HTTP requests
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.
- Record
GHSA-fx5h-3786-h2w6- Updated
- 2026-11-02
OSVUBUNTU-CVE-2012-6112 No score
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.
- Record
UBUNTU-CVE-2012-6112- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
2.1.0 up to 2.1.10 | 2.1.10 |
moodle/moodlePackagist |
2.2.0 up to 2.2.7 | 2.2.7 |
moodle/moodlePackagist |
2.3.0 up to 2.3.4 | 2.3.4 |
moodle/moodlePackagist |
2.4.0 to 2.4.0 | 2.4.1 |
wordpressDebian:12 |
before 3.5.1+dfsg-2 | 3.5.1+dfsg-2 |
wordpressDebian:13 |
before 3.5.1+dfsg-2 | 3.5.1+dfsg-2 |
wordpressDebian:14 |
before 3.5.1+dfsg-2 | 3.5.1+dfsg-2 |
moodle/moodlePackagist |
2.4.0 up to 2.4.1, plus listed versions v2.4.0 |
2.4.1 |
tinymceUbuntu:16.04:LTS |
All versions, plus listed versions 3.4.8+dfsg0-1 |
None known |
tinymceUbuntu:18.04:LTS |
All versions, plus listed versions 3.4.8+dfsg0-2 |
None known |
tinymceUbuntu:20.04:LTS |
All versions, plus listed versions 3.4.8+dfsg0-2 |
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-2012-6112 is a medium vulnerability (CVSS 5.0) in Moodle, published January 27, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.29%, the 83rd percentile. Fixed in moodle/moodle 2.1.10.
References
github.com/tinymce/tinymce_spellchecker_php/commit/22910187bfb9edae90c26e10100d8145b505b974
tinymce.com/forum/viewtopic.php?id=30036
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-37283
tinymce.com/develop/changelog?type=phpspell
openwall.com/lists/oss-security/2013/01/21/1
moodle.org/mod/forum/discuss.php?d=220157
Show 13 moreShow less
nvd.nist.gov/vuln/detail/CVE-2012-6112
github.com/moodle/moodle/commit/6fac8f7f04c9fe7f8bbb54a9c00ec5f9ea4f09e0
github.com/moodle/moodle/commit/9803d8fc3ce08c8f8b88ad3a95d9a7c97678a3e3
github.com/moodle/moodle/commit/a3243760c243ddad76e91840134009c3681cb16a
github.com/moodle/moodle/commit/f938b1a89b8f381129120a37915d1b345333b3fb
web.archive.org/web/20121015010345/http://www.tinymce.com/develop/changelog?type=phpspell
web.archive.org/web/20121129021911/http://www.tinymce.com/forum/viewtopic.php?id=30036
github.com/advisories/GHSA-fx5h-3786-h2w6
security-tracker.debian.org/tracker/CVE-2012-6112
github.com/moodle/moodle
ubuntu.com/security/CVE-2012-6112
openwall.com/lists/oss-security/2013/01/17
cve.org/CVERecord?id=CVE-2012-6112