CVE-2023-2583 Code Injection in jsreport/jsreport
An attacker can execute arbitrary code on the jsreport server due to improper neutralization of special elements used in code generation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-2583?
CVE-2023-2583 is a critical code injection vulnerability in jsreport/jsreport, published on 8 May 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Code Injection in GitHub repository jsreport/jsreport prior to 3.11.3.
Weakness: CWE-94
Which versions are affected by CVE-2023-2583?
2 open source packages ship an affected version, including jsreport. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
jsreport npm | All versions | 3.11.3 |
jsreport npm | All versions | 3.11.3 |
Products include Jsreport Jsreport.
How do I fix CVE-2023-2583?
Upgrade jsreport to 3.11.3 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2023-2583 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-2583 exists.
Other vulnerabilities in jsreport/jsreport
Sources
Also known as GHSA-g7rj-q722-245g.