CVE
CVE-2024-46076
published critical CVSS 3.1 · 9.8ruoyi vulnerability
Package status and fixes
Description
RuoYi v4.7.9 and before has a security flaw that allows escaping from comments within the code generation feature, enabling the injection of malicious code.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| ruoyi | ruoyi | 0 through 4.7.9 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')
References
2Provider assertions
2mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c828b927052ad7c857cddb6d60884df73acb4cb101167a7e2a2c86c15b48e76e
- Ingested
- 23 Sep 2026, 08:28:03 UTC
- Source record
- Official CVE record