CVE-2026-26974
Improper Control of Generation of Code ('Code Injection') in @tygo-van-den-hurk/slyde
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
Description
Slyde is a program that creates animated presentations from XML. In versions 0.0.4 and below, Node.js automatically imports **/*.plugin.{js,mjs} files including those from node_modules, so any malicious package with a .plugin.js file can execute arbitrary code when installed or required. All projects using this loading behavior are affected, especially those installing untrusted packages. This issue has been fixed in version 0.0.5. To workaround this issue, users can audit and restrict which packages are installed in node_modules.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | @tygo-van-den-hurk/slyde | 0.0.5 |
References
- https://github.com/Tygo-van-den-Hurk/Slyde
- https://github.com/Tygo-van-den-Hurk/Slyde/commit/e4c215b061e44fd2ead805de34d72642a710af60
- https://github.com/Tygo-van-den-Hurk/Slyde/releases/tag/v0.0.5
- https://github.com/Tygo-van-den-Hurk/Slyde/security/advisories/GHSA-w7h5-55jg-cq2f
- https://nvd.nist.gov/vuln/detail/CVE-2026-26974