CVE-2026-107225: Excelize: GetStyle panics on a negative fillId, borderId or fontId in styles.xml in github.com/xuri/excelize
Published 2026-11-05 · Updated 2026-11-05 · Also known as GHSA-5h23-36rv-pm65, GO-2026-6674
Summary
Excelize suffers from a panic vulnerability when parsing a negative fillId, borderId, or fontId within styles.xml. Developers using vulnerable versions of the github.com/xuri/excelize/v2 package should update their dependencies.
Who is affected
Deployments processing untrusted or malformed Excel spreadsheets containing negative format identifiers in the styles.xml file are affected. This flaw causes the application to panic, potentially resulting in denial of service conditions if the process crashes.
Exploitability
The CVSS vector and base score are not provided. The EPSS score is 0.003 (percentile 0.194), indicating a low probability of exploitation, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade github.com/xuri/excelize/v2 to version 2.11.1-0.20260731010303-ae2113b410e5 or later where the fix is applied.
How to check your project
- Check go.mod and go.sum files to determine if github.com/xuri/excelize/v2 is within the introduced version range (2.8.0 up to the fixed version).
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.8.0, < 2.11.1-0.20260731010303-ae2113b410e5 | 2.11.1-0.20260731010303-ae2113b410e5 | go get github.com/xuri/excelize/[email protected] |
FAQ
What causes the panic in Excelize?
The panic is triggered when the GetStyle function encounters a negative fillId, borderId, or fontId inside the styles.xml file of an Excel document.
Is this vulnerability actively exploited in the wild?
No, CISA KEV status is no, and there is no documentation of active exploitation.
Which package is affected by this vulnerability?
The Go package github.com/xuri/excelize/v2 is affected.
Original advisory description
References
- ADVISORY https://github.com/qax-os/excelize/security/advisories/GHSA-5h23-36rv-pm65
- FIX https://github.com/qax-os/excelize/commit/ae2113b410e51f6a141c396a59eda8c42b91bc22
- WEB https://github.com/qax-os/excelize/pull/2367
Source records: GO-2026-6674 (OSV.dev) · EPSS by FIRST, 2026-11-26.