GHSA-xcrg-29h7-h4cj

Suggest an improvement
Source
https://github.com/advisories/GHSA-xcrg-29h7-h4cj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/11/GHSA-xcrg-29h7-h4cj/GHSA-xcrg-29h7-h4cj.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-xcrg-29h7-h4cj
Aliases
Published
2019-11-20T01:38:52Z
Modified
2025-03-06T18:41:22.718487Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
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

Database specific
{
    "nvd_published_at": "2018-11-14T11:29:00Z",
    "cwe_ids": [
        "CWE-91"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2019-11-19T03:40:52Z"
}
References

Affected packages

Packagist / phpoffice/phpspreadsheet

Package

Name
phpoffice/phpspreadsheet
Purl
pkg:composer/phpoffice/phpspreadsheet

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.1

Affected versions

1.*

1.0.0-beta
1.0.0-beta2
1.0.0
1.1.0
1.2.0
1.2.1
1.3.0
1.3.1
1.4.0
1.4.1
1.5.0

Packagist / phpoffice/phpexcel

Package

Name
phpoffice/phpexcel
Purl
pkg:composer/phpoffice/phpexcel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.2

Affected versions

1.*

1.7.9-rc1
1.7.9
1.8.0rc1
1.8.0rc2
1.8.0rc3
1.8.0rc4
1.8.0
1.8.1