CVE-2010-2479: Cross-site scripting (XSS) vulnerability in HTML Purifier before 4.1.1, as used in Mahara and other products, when the browser is Internet…
Noroxi assessment
Priority: Monitor (action score 18/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% (FIRST EPSS); higher than 81.1% of all records.
- Fixed version: php-htmlpurifier (Debian:12) 4.1.1+dfsg1-1; mahara (Debian:5.0) 1.0.4-4+lenny6; ezyang/htmlpurifier (Packagist) 4.1.1.
Low priority for now. Upgrade to php-htmlpurifier (Debian:12) 4.1.1+dfsg1-1; mahara (Debian:5.0) 1.0.4-4+lenny6; ezyang/htmlpurifier (Packagist) 4.1.1 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
Cross-site scripting (XSS) vulnerability in HTML Purifier before 4.1.1, as used in Mahara and other products, when the browser is Internet Explorer, allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.
- Published
- Jul 6, 2010
- Updated
- Jun 16, 2026
- EPSS
- 2.0% · 81th percentile
- CWE
- CWE-79
Report tools
Action score
18
Low priority for now.
- CVSS
- 17 / 40 · 4.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.0%
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 |
|---|---|---|
| mahara | mahara | cpe:2.3:a:mahara:mahara |
| htmlpurifier | htmlpurifier | cpe:2.3:a:htmlpurifier:htmlpurifier |
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.
- htmlpurifier htmlpurifierup to 4.1.0 inclusive
- htmlpurifier htmlpurifier1.0.0
- htmlpurifier htmlpurifier1.0.1
- htmlpurifier htmlpurifier1.1.0
- htmlpurifier htmlpurifier1.1.1
- htmlpurifier htmlpurifier1.1.2
- htmlpurifier htmlpurifier1.2.0
- htmlpurifier htmlpurifier1.3.0
+12 more rows
- htmlpurifier htmlpurifier1.3.1
- htmlpurifier htmlpurifier1.3.2
- htmlpurifier htmlpurifier1.4.0
- htmlpurifier htmlpurifier1.4.1
- htmlpurifier htmlpurifier1.5.0
- htmlpurifier htmlpurifier1.6.0
- htmlpurifier htmlpurifier1.6.1
- htmlpurifier htmlpurifier2.0.0
- htmlpurifier htmlpurifier2.0.1
- htmlpurifier htmlpurifier2.1.0
- htmlpurifier htmlpurifier2.1.1
- htmlpurifier htmlpurifier2.1.2
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | php-htmlpurifier | before 4.1.1+dfsg1-1 | 4.1.1+dfsg1-1 |
| Debian:5.0 | mahara | before 1.0.4-4+lenny6 | 1.0.4-4+lenny6 |
| Packagist | ezyang/htmlpurifier | before 4.1.1 | 4.1.1 |
Same product
mahara: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-45134Mahara 21.10 before 21.10.6, 22.04 before 22.04.4, and 22.10 before 22.10.1 deserializes user input unsafely during skin import.39Monitor
- CVE-2022-44544Mahara 21.04 before 21.04.7, 21.10 before 21.10.5, 22.04 before 22.04.3, and 22.10 before 22.10.0 potentially allow a PDF export to trigger…39Monitor
- CVE-2021-40849In Mahara before 20.04.5, 20.10.3, 21.04.2, and 21.10.0, the account associated with a web services token is vulnerable to being exploited…39Monitor
Published before and after this one in the same product
- ← EarlierCVE-2010-1669Jul 6, 2010 · SQL injection vulnerability in Mahara 1.1.x before 1.1.9 and 1.2.x before 1.2.5 allows remote attackers to execute arbitrary SQL commands…30Monitor
- ← EarlierCVE-2010-1670Jul 6, 2010 · Mahara before 1.0.15, 1.1.x before 1.1.9, and 1.2.x before 1.2.5 has improper configuration options for authentication plugins associated…30Monitor
- Later →CVE-2010-3871Nov 9, 2010 · Cross-site scripting (XSS) vulnerability in blocktype/groupviews/theme/raw/groupviews.tpl in Mahara before 1.3.3 allows remote attackers to…17Monitor
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:mahara | 1.0.4-4+lenny6 · Debian:5.0 | Package registry (OSV) |
| debian:php-htmlpurifier | 4.1.1+dfsg1-1 · Debian:12 | Package registry (OSV) |
| Packagist:ezyang/htmlpurifier | 4.1.1 | 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.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
If successful
- Confidentiality
- none
- Integrity
- P · data or configuration can be modified
- Availability
- none
- Attack complexity
- M
- 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:M/Au:N/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 (7 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.