Security readout for executives and security teams
Plain-English summary
CVE-2021-23654 is a CSV formula injection issue in the html-to-csv package. If untrusted HTML is converted into CSV, embedded spreadsheet formulas may be carried into the output without validation. Risk is highest where generated CSV files are opened by staff or ingested by spreadsheet-capable workflows.
Executive priority
Treat as a targeted workflow risk, not an emergency internet-wide issue. Prioritize if customer, partner, or web-sourced HTML becomes CSV files used by employees, finance, operations, or automated business processes.
Technical view
The source bundle reports improper input validation affecting all versions of html-to-csv. Formula content embedded in HTML is accepted and written into CSV output. The CVSS 3.1 score is 5.6, with low confidentiality, integrity, and availability impact and high attack complexity.
Likely exposure
Exposure is likely limited to applications or jobs that use html-to-csv on untrusted or user-controlled HTML and distribute the resulting CSV to spreadsheet users or automated CSV consumers.
Exploitation context
No provided source reports active exploitation, and CISA KEV status is false. Practical impact depends on whether malicious formula content survives conversion and is later interpreted by downstream spreadsheet software or workflows.
Researcher notes
Evidence is limited to the CVE description and linked references. The bundle names html-to-csv while one reference points to a GitHub html2csv converter file, so confirm package identity in local dependency data before remediation tracking.
Mitigation direction
- Inventory use of html-to-csv in applications, scripts, and build jobs.
- Check vendor, Snyk, and project guidance for any maintained fixed version.
- Avoid converting untrusted HTML with this package until risk is controlled.
- Apply approved CSV formula sanitization before delivering generated CSV files.
- Limit who can supply HTML used for CSV export workflows.
Validation and detection
- Search dependency manifests and SBOMs for html-to-csv usage.
- Identify CSV exports generated from user-supplied or external HTML.
- Review generated CSV handling for formula sanitization or validation controls.
- Confirm whether exported CSVs are opened by staff in spreadsheet tools.
- Document any compensating controls and residual exposure.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-23654 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.6 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L2.23.4Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.6MediumVector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-PYTHON-HTMLTOCSV-1582784CVE reference · x_refsource_MISC
- https://github.com/hanwentao/html2csv/blob/master/html2csv/converter.pyCVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
