---
id: CVE-2026-107222
title: >-
  Excelize is a Go language library for reading and writing Microsoft Excel
  spreadsheets
summary: >-
  Excelize is a Go language library for reading and writing Microsoft Excel
  spreadsheets. From 2.7.0 to 2.11.0, conditional-format extraction indexes
  required child slices or dereferences an optional colorScale child without
  validating mal…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'
cwe:
  - CWE-129
  - CWE-476
vendor: xuri
product: github.com/xuri/excelize/v2
affected:
  - 'github.com/xuri/excelize/v2 >= 2.7.0, < 2.11.1-0.20260812075026-be7a16390fa6'
patched:
  - github.com/xuri/excelize/v2 2.11.1-0.20260812075026-be7a16390fa6
published: '2026-10-07'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T19:17:34.800'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-107222'
references:
  - url: >-
      https://github.com/qax-os/excelize/commit/be7a16390fa69c71d3ca618c741d1a2b5ed362cd
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/pull/2375'
    label: security-advisories@github.com
  - url: 'https://github.com/qax-os/excelize/security/advisories/GHSA-rxcj-4pj5-74gr'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-rxcj-4pj5-74gr'
tags:
  - nvd
  - ghsa
  - go
  - cve.org
aliases:
  - GHSA-rxcj-4pj5-74gr
ecosystem: go
ingestedAt: '2026-10-07T20:46:46.977Z'
---

## Overview

Excelize is a Go language library for reading and writing Microsoft Excel spreadsheets. From 2.7.0 to 2.11.0, conditional-format extraction indexes required child slices or dereferences an optional colorScale child without validating malformed rule structure. GetConditionalFormats reaches extractCondFmtCellIs and also indexes ColorScale.Cfvo, DataBar.Cfvo, and DataBar.Color without complete structural checks. When a crafted worksheet supplies a cellIs, dataBar, or colorScale rule missing expected children and the application calls GetConditionalFormats, missing formula, color, value-object, or colorScale data reaches an out-of-range index or nil dereference, allowing an attacker to panic and terminate an unprotected process. No fixed version is available as of this review.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-107222)

Affected packages:

- `github.com/xuri/excelize/v2 >= 2.7.0, < 2.11.1-0.20260812075026-be7a16390fa6`

Patched in:

- `github.com/xuri/excelize/v2 2.11.1-0.20260812075026-be7a16390fa6`

Source: https://github.com/advisories/GHSA-rxcj-4pj5-74gr
