Vulnerability library
Security checkAugust 18, 2026

@rhinostone/swig: arbitrary local file read via include/extends path traversal

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

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

@rhinostone/swig is a maintained fork of the abandoned swig template engine and inherited the directory-traversal vulnerability tracked upstream as CVE-2023-25345 / GHSA-2rq5-699j-x7p6.

Recommendation

Update the @rhinostone/swig-jinja2 package to the latest compatible version. Followings are version details:

  • Affected version(s): < 2.7.1
  • Patched version(s): 2.7.1

References

Could your website be exposed too?

SmartScanner can check your website for @rhinostone/swig: arbitrary local file read via include/extends path traversal and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated August 18, 2026