datamodel-code-generator is vulnerable to Code Injection
69
Medium Risk
Affected versions of the package are vulnerable to Code Injection due to improper handling of newline characters during file generation from headers. Malicious input hiding behind newlines can break the intended structure of the generated code and allow attackers to inject arbitrary code.
You are affected if you are using a version that falls within the vulnerable range.
datamodel-code-generator is vulnerable to Code Injection in versions 0.17.2 - 0.31.1.
Upgrade the datamodel-code-generator library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant