Advisory Published

CVE-2023-23619: Code Injection

First published: Thu Jan 26 2023(Updated: )

Modelina is a library for generating data models based on inputs such as AsyncAPI, OpenAPI, or JSON Schema documents. Versions prior to 1.0.0 are vulnerable to Code injection. This issue affects anyone who is using the default presets and/or does not handle the functionality themself. This issue has been partially mitigated in version 1.0.0, with the maintainer's GitHub Security Advisory (GHSA) noting "It is impossible to fully guard against this, because users have access to the original raw information. However, as of version 1, if you only access the constrained models, you will not encounter this issue. Further similar situations are NOT seen as a security issue, but intended behavior." The suggested workaround from the maintainers is "Fully custom presets that change the entire rendering process which can then escape the user input."


Affected SoftwareAffected VersionHow to fix
Lfprojects Modelina<1.0.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2023-23619?

    CVE-2023-23619 is a code injection vulnerability in Modelina.

  • What is Modelina?

    Modelina is a library for generating data models based on inputs such as AsyncAPI, OpenAPI, or JSON Schema documents.

  • How does CVE-2023-23619 affect Modelina?

    CVE-2023-23619 affects Modelina by allowing code injection, potentially leading to unauthorized access or control of the system.

  • Who is affected by CVE-2023-23619?

    Anyone using Modelina versions prior to 1.0.0 and relying on the default presets or not handling the functionality themselves.

  • How severe is CVE-2023-23619?

    CVE-2023-23619 has a severity rating of critical with a score of 8.8 out of 10.

  • How can I fix CVE-2023-23619?

    To fix CVE-2023-23619, upgrade to Modelina version 1.0.0 or newer.

  • Is there any additional information about CVE-2023-23619?

    You can find additional information about CVE-2023-23619 in the official GitHub advisory: [GitHub Advisory](

  • What is the Common Weakness Enumeration (CWE) for CVE-2023-23619?

    The Common Weakness Enumeration (CWE) for CVE-2023-23619 is CWE-94: Code Injection.


SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203