https://bugs.winehq.org/show_bug.cgi?id=42399
Bug ID: 42399 Summary: Implement Windows Script Host Product: Wine-gecko Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-gecko-unknown Assignee: jacek@codeweavers.com Reporter: kolan_n@mail.ru Distribution: ---
Wine has wscript.exe, cscript.exe and JScript.dll, but they seem to do nothing. This prevents some software embedding WSH from working properly. The solution can be some open-source JS engine like SpiderMonkey or v8 wrapped into a a library providing WSH API. Probably you can reuse node.js which looks similar to WSH in the sense it has API for network requests and FS manipulation.
Of course it is possible to install Microsoft's WSH, but it surely contain vulnerabilities since it have not been updated for years and lacks modern JS features.