p PatchFirst

PatchFirst · Latest vulnerabilities

@rhinostone/swig-core vulnerabilities

Vulnerabilities published for @rhinostone/swig-core in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerability: 1

  1. GHSA-2mf3-mr2r-r4vf

    High · CVSS 7.5Fix available

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

    ### Overview `@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. The `{% include %}`, `{% extends %}`, and `{% import %}` tags resolve their target path through the filesystem loader without confining the result to the configured template root. A path that traverses upward (`../`) escapes the root and reads an arbitrary file from the host filesystem, whose contents are emitted into the rendered output. ### Attack scenario The dangerous case does **not** require the attacker to control template source — o

    • Update to 2.7.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →