Advisory

GHSA-xcrg-29h7-h4cj

Also known as: CVE-2018-19277

Summary

XXE in PHPSpreadsheet due to encoding issue

Details

securityScan() in PHPOffice PhpSpreadsheet through 1.5.0 allows a bypass of protection mechanisms for XXE via UTF-7 encoding in a .xlsx file

Severity

High Basis: The source's own band: HIGH

Dates

Published
2019-11-20 01:38 UTC
Modified
2025-03-06 18:38 UTC

Affected packages and fixes

phpoffice/phpspreadsheet

Packagist · All systems

Affected

  • introduced 0, fixed 1.5.1 (ecosystem)

Fixed versions

1.5.1

Fix

The export has no generic command for this ecosystem.

phpoffice/phpexcel

Packagist · All systems

Affected

  • introduced 0, fixed 1.8.2 (ecosystem)

Fixed versions

1.8.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences