LiveActive security incident?Get immediate response
CVE Record

CVE-2021-23654: Improper Input Validation

This affects all versions of package html-to-csv. When there is a formula embedded in a HTML page, it gets accepted without any validation and the same would be pushed while converting it into a CSV file. Through this a malicious actor can embed or generate a malicious link or execute commands via CSV files.

MediumCVSS 5.6Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

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.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

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 · low confidence lookup

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
Vulnerability profileCVE Program record
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

Official CVE source material

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.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We 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.

ScoreVersionSeverityVectorExploitImpactSource
5.6CVSS 3.1MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L2.23.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.6Medium
CVSS 3.1 vector shape for CVE-2021-23654Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/ahtml-to-csv0Listed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.