Install
openpyxl
A Python library to read/write Excel 2010 xlsx/xlsm files
3.1.5Latest, 28 Jun 2024
383MDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
Source · Homepage · Ask AI Mode · · Markdown
Known advisories
| Severity | Advisory | Fix | Published |
|---|---|---|---|
| Moderate | Improper Restriction of XML External Entity Reference in Openpyxl CVE-2017-5992 | Fixed in 2.4.2 | 17 May 2022 |
| PYSEC-2017-48 CVE-2017-5992 | Fixed in 2.4.1 | 15 Feb 2017 |
In the news
- Why openpyxl 3.1.5 silently misses Excel theme color changes (and how to catch silent AI spreadsheet edits) dev.to, 29 Nov 2026
- Automate Excel Reports with Python and openpyxl dev.to, 21 Nov 2026
- openpyxl writes formulas. It never evaluates them — so your generated spreadsheet can be silently wrong. dev.to, 8 Aug 2026
- Openpyxl, regexreplace stackoverflow.com, 1 Mar 2025
- Problem in generate charts by openpyxl using a high editon of python stackoverflow.com, 22 Feb 2025
Sources: PyPI, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.