Improper Input Validation Affecting org.apache.poi:poi-ooxml package, versions [,5.4.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHEPOI-9685010
  • published10 Apr 2025
  • disclosed9 Apr 2025
  • creditUnknown

Introduced: 9 Apr 2025

NewCVE-2025-31672  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade org.apache.poi:poi-ooxml to version 5.4.0 or higher.

Overview

org.apache.poi:poi-ooxml is a Java API To Access Microsoft Format Files.

Affected versions of this package are vulnerable to Improper Input Validation due to the parsing process of OOXML format files. An attacker can manipulate the file content by adding zip entries with duplicate names, leading to inconsistent data being read by different products depending on which duplicate entry is selected.

CVSS Base Scores

version 4.0
version 3.1