Parsoid CSS sanitizer accepts unsafe CSS when a regex limit is hit
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
MediaWiki and its mediawiki/services/parsoid package from 1.43.0 before 1.43.12, from 1.45.0 before 1.45.7, from 1.46.0 before 1.46.3, and 1.47 are affected. Improper input validation (CWE-20) in the Sanitizer checkCss function lets unsafe CSS pass when a PCRE backtrack-limit error occurs. A remote attacker without privileges can exploit this if a user views crafted content.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
Improper Input Validation vulnerability in Wikimedia Foundation MediaWiki, mediawiki/services/parsoid. This vulnerability is associated with program files wikimedia/parsoid/src/Core/Sanitizer.php. This issue affects MediaWiki, mediawiki/services/parsoid: from 1.43.0 before 1.43.12, from 1.45.0 before 1.45.7, from 1.46.0 before 1.46.3, 1.47.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Wikimedia Foundation | MediaWiki | 1.43.0 to before 1.43.12; 1.45.0 to before 1.45.7; 1.46.0 to before 1.46.3; 1.47 | 1.43.12, 1.45.7, 1.46.3 | Patch available | CNA |
| Wikimedia Foundation | mediawiki/services/parsoid | 1.43.0 to before 1.43.12; 1.45.0 to before 1.45.7; 1.46.0 to before 1.46.3; 1.47 | 1.43.12, 1.45.7, 1.46.3 | Patch available | CNA |
- MediaWiki VendorWikimedia Foundation Affected 1.43.0 to before 1.43.12; 1.45.0 to before 1.45.7; 1.46.0 to before 1.46.3; 1.47 Fixed in 1.43.12, 1.45.7, 1.46.3 Patch available CNA
- mediawiki/services/parsoid VendorWikimedia Foundation Affected 1.43.0 to before 1.43.12; 1.45.0 to before 1.45.7; 1.46.0 to before 1.46.3; 1.47 Fixed in 1.43.12, 1.45.7, 1.46.3 Patch available CNA
Remediation
Upgrade MediaWiki and mediawiki/services/parsoid to 1.43.12, 1.45.7 or 1.46.3, depending on the branch in use. The sources list no fixed version for MediaWiki 1.47.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA MediaWiki (Wikimedia Foundation) Fixed in 1.43.12, 1.45.7, 1.46.3
- Fix · CNA mediawiki/services/parsoid (Wikimedia Foundation) Fixed in 1.43.12, 1.45.7, 1.46.3
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
Wikimedia Foundation MediaWiki 1.43.12, 1.45.7, 1.46.3
13 records Highest priority Priority MEDIUM 2 MEDIUM, 11 LOW
Other records, highest priority first
- TI-2026-97909 MediaWiki REST API flaw exposes private wiki contentPriority MEDIUM 45
- TI-2026-97877 MediaWiki Action API rvdiffto bypasses cross-page read authorizationPriority MEDIUM 44
- TI-2026-97907 Trailing spaces in MediaWiki Special:UserRights expose user groupsPriority LOW 37
- Release ·
Wikimedia Foundation mediawiki/services/parsoid 1.43.12, 1.45.7, 1.46.3
3 records Highest priority Priority LOW 3 LOW
Other records, highest priority first
- TI-2026-97896 Cross-site scripting in Parsoid TableFixupsPriority LOW 25
- TI-2026-97895 Parsoid stored XSS via entity or comment in attribute name bypasses protectAttrsPriority LOW 25
Timeline
- 2026-11-24 Threatist record created from CVE-2026-132712
- 2026-11-25 Alias added: GHSA-3mww-m295-jfhw
References
More Wikimedia Foundation vulnerabilities
- TI-2025-11006 The compare API module breaks Extension:Lockdown CVSS 4.0CRITICAL 10.0
- TI-2024-32110 Backticks can allow the usage of not-allowed SQL functions CVSS 4.0HIGH 8.8
- TI-2026-65500 Unauthenticated SQL injection in UserPageViewTracker via filterusers and ignoreusers parameters CVSS 3.1HIGH 7.5
- TI-2026-64588 DataTransfer depends on phpspreadsheet version vulnerable to CVE-2026-59933 (XLS/OLE memory exhaustion) CVSS 3.1HIGH 7.5
- TI-2026-42112 SQLi in Cargo extension via year range filter CVSS 4.0MEDIUM 6.9
- TI-2026-42110 Stored XSS through Cargo's map format CVSS 4.0MEDIUM 6.9
Sources
- CVE-2026-132712 · CVE Program
- CVE-2026-132712 · NVD
- FIRST EPSS
- GHSA-3mww-m295-jfhw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences