Vulnerability library
Security checkJanuary 26, 2026

Saltcorn's Reflected XSS and Command Injection vulnerabilities can be chained for 1-click-RCE

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@saltcorn/server

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

  1. There is a reflected XSS vulnerability in the GET /admin/edit-codepage/:name route through the name parameter. This can be used to hijack the session of an admin if they click a specially crafted link.
  2. Additionally, there is a Command Injection vulnerability in GET /admin/backup.

Recommendation

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

  • Affected version(s): >= 1.1.1, < 1.5.0-beta.19
  • Patched version(s): 1.5.0-beta.19

References

Could your website be exposed too?

SmartScanner can check your website for Saltcorn's Reflected XSS and Command Injection vulnerabilities can be chained for 1-click-RCE and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 26, 2026