typeorm is vulnerable to Improper String Escaping
70
CVE Score
High
Improper String Escaping
Affected versions of this package lack sufficient backlash and single quote escaping in the methods used for drives, migrations, and query runners. It unsafely utilizes String.replace() for escaping, which fails to handle repeated special characters or escape sequences properly. This vulnerability allows attackers to create malicious input with unescaped special characters, potentially breaking the query syntax and enabling SQL injection attacks if the improperly escaped string is handled in a critical context.
Upgrade the TypeORM library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.3.0 - 0.3.21
Fixed in 0.3.22typeorm is vulnerable to Improper String Escaping in versions 0.3.0 - 0.3.21.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.