Vulnerabilities/

@saltcorn/server Remote Code Execution (RCE) / SQL injection via prototype pollution by manipulating `lang` and `defst

Severity:
High

Description

The endpoint /site-structure/localizer/save-string/:lang/:defstring accepts two parameter values: lang and defstring. These values are used in an unsafe way to set the keys and value of the cfgStrings object.

Recommendation

Update the @saltcorn/server package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
@saltcorn/server
Anything's wrong? Let us know Last updated on October 04, 2024

This issue is available in SmartScanner Professional

See Pricing