Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. html-to-csv
  4. ›
  5. CVE-2021-23654

CVE-2021-23654: Improper Neutralization of Formula Elements in a CSV File in html-2-csv

November 30, 2021 (updated September 20, 2024)

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.

References

  • github.com/advisories/GHSA-fwf6-rw69-hhj4
  • github.com/hanwentao/html2csv
  • github.com/hanwentao/html2csv/blob/master/html2csv/converter.py
  • github.com/hanwentao/html2csv/issues/9
  • github.com/pypa/advisory-database/tree/main/vulns/html-to-csv/PYSEC-2021-866.yaml
  • nvd.nist.gov/vuln/detail/CVE-2021-23654
  • snyk.io/vuln/SNYK-PYTHON-HTMLTOCSV-1582784

Code Behaviors & Features

Detect and mitigate CVE-2021-23654 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.1.3

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-1236: Improper Neutralization of Formula Elements in a CSV File

Source file

pypi/html-to-csv/CVE-2021-23654.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:19 +0000.