GitHub Advisoryadvisory · npm
GHSA-w7h5-55jg-cq2f Improper Control of Generation of Code ('Code Injection') in @tygo-van-den-hurk/slyde
HIGH
Official page ↗
- Aliases
- CVE-2026-26974
- Ecosystem
- npm
- Packages
- @tygo-van-den-hurk/slyde
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-829
- Reviewed
- 2026-02-18
Affected packages
• npm @tygo-van-den-hurk/slyde: < 0.0.5 → fixed in 0.0.5
Description
Impact
This is a remote code execution (RCE) vulnerability. Node.js automatically imports `**/*.plugin.{js,mjs}` files including those from `node_modules`, so any malicious package with a `.plugin.js` file could execute arbitrary code when installed or required. All projects using this loading behavior are affected, especially those installing untrusted packages.
Patches
The issue has been patched in v0.0.5. Users should upgrade to v0.0.5 or later to mitigate the vulnerability.
Workarounds
• Audit and restrict which packages are installed in `node_modules`.
References
• CWE-94: Improper Control of Generation of Code
• GitHub Security Advisories documentation: https://docs.github.com/en/code-security/security-advisories
Related
Alias · CVE (1)
- CVE-2026-26974 Slyde is a program that creates animated presentations from XML. vulnerability
Weakness · CWE (1)
- CWE-829 Inclusion of Functionality from Untrusted Control Sphere weakness
References
- https://github.com/Tygo-van-den-Hurk/Slyde/security/advisories/GHSA-w7h5-55jg-cq2f web
- https://nvd.nist.gov/vuln/detail/CVE-2026-26974 advisory
- https://github.com/Tygo-van-den-Hurk/Slyde/commit/e4c215b061e44fd2ead805de34d72642a710af60 web
- https://github.com/Tygo-van-den-Hurk/Slyde package
- https://github.com/Tygo-van-den-Hurk/Slyde/releases/tag/v0.0.5 web