CVE-2026-107222: GetConditionalFormats indexes conditional-formatting rule sub-elements with no length / nil check in github.com/xuri/excelize
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-rxcj-4pj5-74gr, GO-2026-6682
Summary
A vulnerability in github.com/xuri/excelize involves indexing conditional-formatting rule sub-elements without length or nil checks. Development teams utilizing the Excelize library to parse spreadsheets should review their integrations.
Who is affected
Deployments using github.com/xuri/excelize/v2 versions introduced since 2.7.0 are affected when processing maliciously crafted spreadsheet files. The lack of length and nil checks during conditional format retrieval can lead to unhandled runtime faults or application instability.
Exploitability
The vulnerability has an EPSS score of 0.003 (percentile 0.194), indicating a very low current probability of exploitation in the wild. It is not currently listed in the CISA Known Exploited Vulnerabilities catalog, and a CVSS base score or vector has not been computed.
Remediation
- Upgrade github.com/xuri/excelize/v2 to version 2.11.1-0.20260812075026-be7a16390fa6 or later.
- Verify project dependency trees to ensure all references to github.com/xuri/excelize/v2 are updated past the vulnerable range.
How to check your project
- Check go.mod and go.sum files for references to github.com/xuri/excelize/v2 versions introduced from 2.7.0 up to 2.11.1-0.20260812075026-be7a16390fa6.
- Use dependency-tracking tools or Go vulnerability scanners to identify vulnerable versions of github.com/xuri/excelize/v2 within the application build.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/xuri/excelize/v2 |
>= 2.7.0, < 2.11.1-0.20260812075026-be7a16390fa6 | 2.11.1-0.20260812075026-be7a16390fa6 | go get github.com/xuri/excelize/[email protected] |
FAQ
What is CVE-2026-107222?
It is a vulnerability in github.com/xuri/excelize where GetConditionalFormats indexes conditional-formatting rule sub-elements without checking for length or nil values.
Which versions are affected?
Go package github.com/xuri/excelize/v2 versions introduced in 2.7.0 and fixed in 2.11.1-0.20260812075026-be7a16390fa6 are affected.
Is this vulnerability actively exploited?
No, CISA Known Exploited Vulnerabilities status is set to no.
Original advisory description
References
- ADVISORY https://github.com/qax-os/excelize/security/advisories/GHSA-rxcj-4pj5-74gr
- FIX https://github.com/qax-os/excelize/commit/be7a16390fa69c71d3ca618c741d1a2b5ed362cd
- WEB https://github.com/qax-os/excelize/pull/2375
Source records: GO-2026-6682 (OSV.dev) · EPSS by FIRST, 2026-11-26.