# CVE-2021-23404: Cross-site Request Forgery (CSRF)

- Severity: High 7.6 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L/E:P/RL:U/RC:R`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-09-08T10:50:10.067Z
- Modified: 2026-06-17T03:38:42.037Z
- Also known as: GHSA-2j58-pwwv-x666, PYSEC-2021-332, SNYK-PYTHON-SQLITEWEB-1316324
- Weaknesses: CWE-352
- Assigned by: snyk

## Description

This affects all versions of package sqlite-web. The SQL dashboard area allows sensitive actions to be performed without validating that the request originated from the application. This could enable an attacker to trick a user into performing these actions unknowingly through a Cross Site Request Forgery (CSRF) attack.

(As written by CVE List.)

## Affected

- sqlite-web: before unspecified
- sqlite-web (PyPI): up to 0.6.5; all versions
- sqlite-web_project sqlite-web: no versions given

## Every score

- snyk: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L/E:P/RL:U/RC:R`
- GitHub: CVSS:3.1 7.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L/E:F`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-PYTHON-SQLITEWEB-1316324> (exploit, advisory, third-party-advisory, web)
- <https://github.com/coleifer/sqlite-web/blob/2e7c85da3d37f80074ed3ae39b5851069b4f301c/sqlite_web/__main__.py%23L1> (broken-link, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23404> (advisory)
- <https://github.com/coleifer/sqlite-web> (package)
- <https://github.com/coleifer/sqlite-web/blob/2e7c85da3d37f80074ed3ae39b5851069b4f301c/sqlite_web/__main__.py> (web)
- <https://github.com/coleifer/sqlite-web/blob/4ba53979eb342c69fb3b7a75eeed43da7a3d3822/sqlite_web/sqlite_web.py#L1338> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/sqlite-web/PYSEC-2021-332.yaml> (web)
- <https://github.com/advisories/GHSA-2j58-pwwv-x666> (advisory)

## Sources

- CVE List: [CVE-2021-23404](https://www.cve.org/CVERecord?id=CVE-2021-23404), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-2j58-pwwv-x666](https://github.com/advisories/GHSA-2j58-pwwv-x666), CC-BY-4.0, modified 2025-11-27
- NVD: [CVE-2021-23404](https://nvd.nist.gov/vuln/detail/CVE-2021-23404), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-332](https://osv.dev/vulnerability/PYSEC-2021-332), CC-BY-4.0, modified 2025-10-09

---

Page: https://cve.day/CVE-2021-23404 · Whole record: https://cve.day/CVE-2021-23404.json · Rebuilt by cve.day 2026-11-25T22:58:03.702Z
