TypeScript : Easily guessed database name
Classification
Overview
Database name is easy to guess. This may lead to data confidentiality violation.
One of the features of HTML5 is the storage data in a client-side SQL database. The main piece of information required for writing to and reading from the database is its name. Therefore, it is important that the name of the database is a unique string that differs from user to user. If the name of the database is easy to guess, unauthorized parties, such as other users, might be able to steal sensitive data or corrupt the database entries.
DerScanner Severity Score
Check your TypeScript code for this vulnerability, free
Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.
Try it on your code, free
By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.
