CVE-2010-2230: The KSES text cleaning filter in lib/weblib.php in Moodle before 1.8.13 and 1.9.x before 1.9.9 does not properly handle vbscript URIs, which…
Noroxi assessment
Priority: Monitor (action score 17/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.2% (FIRST EPSS); higher than 83% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: wordpress (Debian:12) 3.0.4+dfsg-1; moodle (Debian:5.0) 1.8.13-1; moodle/moodle (Packagist) 1.9.9, 1.8.13.
Low priority for now. Upgrade to wordpress (Debian:12) 3.0.4+dfsg-1; moodle (Debian:5.0) 1.8.13-1; moodle/moodle (Packagist) 1.9.9, 1.8.13 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The KSES text cleaning filter in lib/weblib.php in Moodle before 1.8.13 and 1.9.x before 1.9.9 does not properly handle vbscript URIs, which allows remote authenticated users to conduct cross-site scripting (XSS) attacks via HTML input.
- Published
- Jun 28, 2010
- Updated
- Jun 16, 2026
- EPSS
- 2.2% · 83th percentile
- CWE
- CWE-79
Report tools
Action score
17
Low priority for now.
- CVSS
- 16 / 40 · 4.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Limit the impact of XSSCheck security headers
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| moodle | moodle | cpe:2.3:a:moodle:moodle |
Limit the impact of XSS
This is a cross-site scripting (XSS) vulnerability. A well-configured Content-Security-Policy doesn't fix it, but greatly reduces its impact. Check your site's CSP and other security headers for free.
Check security headersAffected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- moodle moodleup to 1.8.12 inclusive
- moodle moodle1.1.1
- moodle moodle1.2.0
- moodle moodle1.2.1
- moodle moodle1.3.0
- moodle moodle1.3.1
- moodle moodle1.3.2
- moodle moodle1.3.3
+12 more rows
- moodle moodle1.3.4
- moodle moodle1.4.1
- moodle moodle1.4.2
- moodle moodle1.4.3
- moodle moodle1.4.4
- moodle moodle1.4.5
- moodle moodle1.5
- moodle moodle1.5.0
- moodle moodle1.5.1
- moodle moodle1.5.2
- moodle moodle1.5.3
- moodle moodle1.6.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | wordpress | before 3.0.4+dfsg-1 | 3.0.4+dfsg-1 |
| Debian:5.0 | moodle | before 1.8.13-1 | 1.8.13-1 |
| Packagist | moodle/moodle | from 1.9.0 · before 1.9.9 | 1.9.9 |
| Packagist | moodle/moodle | before 1.8.13 | 1.8.13 |
Same product
moodle: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-43425Moodle: remote code execution via calculated question types60This week
- CVE-2021-36393In Moodle, an SQL injection risk was identified in the library fetching a user's recent courses.55Plan
- CVE-2022-0332A flaw was found in Moodle in versions 3.11 to 3.11.4.49Plan
Published before and after this one in the same product
- ← EarlierCVE-2010-2228Jun 28, 2010 · Cross-site scripting (XSS) vulnerability in the MNET access-control interface in Moodle before 1.8.13 and 1.9.x before 1.9.9 allows remote…18Monitor
- ← EarlierCVE-2010-2229Jun 28, 2010 · Multiple cross-site scripting (XSS) vulnerabilities in blog/index.php in Moodle before 1.8.13 and 1.9.x before 1.9.9 allow remote attackers…18Monitor
- Later →CVE-2010-2231Jun 28, 2010 · Cross-site request forgery (CSRF) vulnerability in report/overview/report.php in the quiz module in Moodle before 1.8.13 and 1.9.x before 1.27Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:moodle | 1.8.13-1 · Debian:5.0 | Package registry (OSV) |
| debian:wordpress | 3.0.4+dfsg-1 · Debian:12 | Package registry (OSV) |
| Packagist:moodle/moodle | 1.8.13 | Package registry (OSV) |
| Packagist:moodle/moodle | 1.9.9 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- P
- Availability impact
- None
Weakness class (CWE)
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')CVSS vector
AV:N/AC:L/Au:S/C:N/I:P/A:N
nvd-primary
Root cause
User content is inserted into the page as HTML. The browser interprets the content as code rather than data.
The bug in code
The whole CWE-79 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
commentEl.innerHTML = comment.body;Fixed
commentEl.textContent = comment.body;Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (15 more)Show less
- cvs.moodle.org/moodle/lib/weblib.php?r1=1.970.2.171&r2=1.970.2.172
- docs.moodle.org/en/Moodle_1.8.13_release_notes
- docs.moodle.org/en/Moodle_1.9.9_release_notes
- lists.fedoraproject.org/pipermail/package-announce/2010-June/043285.html
- lists.fedoraproject.org/pipermail/package-announce/2010-June/043291.html
- lists.fedoraproject.org/pipermail/package-announce/2010-June/043340.html
- lists.opensuse.org/opensuse-security-announce/2010-08/msg00001.html
- moodle.org/mod/forum/discuss.php?d=152368
- secunia.com/advisories/40248
- secunia.com/advisories/40352
- tracker.moodle.org/browse/MDL-22042
- www.openwall.com/lists/oss-security/2010/06/21/2
- www.vupen.com/english/advisories/2010/1530
- www.vupen.com/english/advisories/2010/1571
- bugzilla.redhat.com/show_bug.cgi?id=605809
Vendor advisories and official records. Exploit/PoC links are deliberately left out.