CVE-2023-23619Lfprojects Modelina
High 8.8
Follow: this CVE · Lfprojects · Lfprojects Modelina We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 65
- Auth required
- Yes
- Published
- Jan 26, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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."
What to do
- Apply the vendor's security update for Modelina.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @asyncapi/modelina |
< 1.0.0 |
1.0.0 |
npm install @asyncapi/modelina@1.0.0 |
Per OSV / GitHub Advisories (GHSA-4jg2-84c2-pj95). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| lfprojects | modelina | < 1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Third Party Advisory