Read the docs
TI-2023-09448 Aliases CVE-2023-23619GHSA-4jg2-84c2-pj95

Improper Control of Generation of Code ('Code Injection') in @asyncapi/modelina

Priority HIGH 76CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

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."

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01076 65th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed modelina (asyncapi): 1.0.0@asyncapi/modelina (npm): 1.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
asyncapimodelinabefore 1.0.01.0.0Patch availableCNA
—@asyncapi/modelina (npm)before 1.0.01.0.0Patch availableGHSA-4jg2-84c2-pj95
  • modelina Vendorasyncapi Affected before 1.0.0 Fixed in 1.0.0 Patch available CNA
  • @asyncapi/modelina (npm) Vendor— Affected before 1.0.0 Fixed in 1.0.0 Patch available GHSA-4jg2-84c2-pj95

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:lfprojects:modelina:*:*:*:*:*:node.js:*:*before 1.0.0VulnerableMLflow
  • cpe:2.3:a:lfprojects:modelina:*:*:*:*:*:node.js:*:* Versions before 1.0.0 Vulnerable ·MLflow

Remediation

  • Fix · CNA modelina (asyncapi) Fixed in 1.0.0
  • Fix · GHSA-4jg2-84c2-pj95 @asyncapi/modelina (npm) Fixed in 1.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-23619
  2. 2026-10-03 Alias added: GHSA-4jg2-84c2-pj95

References

  • TI-2021-15569 Code injection issue for java-spring-cloud-stream-template CVSS 3.1HIGH 8.7

Sources