Submit #1070957: https://gitee.com/chunyu-cms/chunyu-cms/ chunyu-cms 1.0 Code Injectioninfo

Titelhttps://gitee.com/chunyu-cms/chunyu-cms/ chunyu-cms 1.0 Code Injection
BeschreibungThe scheduled job module of chunyu-cms allows the `invokeTarget` field to specify a call target of the form `serviceName.method(arguments)`. When parsing this field, `JobService.analysisinvokeTarget` passes the parenthesized argument portion directly into `eval()` for evaluation, then retrieves any registered service from the DI container by name via `moduleRef.get(serviceName, { strict: false })` and invokes its method reflectively. Because `eval` executes arbitrary JavaScript expressions in the argument portion and the reflective invocation places no restriction on the target service or method, an administrator holding the `monitor:job:add` permission can execute arbitrary JavaScript on the server and invoke any public method of any service in the DI container.
Quelle⚠️ https://github.com/bkglfpp/CVE-md/blob/main/chunyu-cms-main/scheduled-job-eval-code-injection.md
Benutzer
 youran (UID 89737)
Einreichung02.11.2026 21:51 (vor 1 Monat)
Moderieren04.12.2026 07:45 (1 month later)
StatusAkzeptiert
VulDB Eintrag449610 [yinMrsir chunyu-cms bis 1.1.0 Monitor Job job.service.ts JobService.analysisinvokeTarget erweiterte Rechte]
Punkte20

Do you want to use VulDB in your project?

Use the official API to access entries easily!