# @rhinostone/swig-jinja2 (npm) CVEs

9 known CVEs (2 critical, 6 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Downloads on affected versions: Not known: this package's downloads haven't been read yet
- Registry: https://www.npmjs.com/package/@rhinostone/swig-jinja2

## Advisories (9)

### [GHSA-8MF3-P375-389G](https://cve.now/GHSA-8MF3-P375-389G): @rhinostone/swig-core and the swig frontends: a key from the template data that names \_\_proto\_\_, constructor or prototype reaches the prototype chain (prototype pollution, code execution)

- Severity: Critical 9.8
- Published: Nov 3, 2026
- Affected: fixed in 2.12.1.

### [GHSA-25W8-77GG-4CCW](https://cve.now/GHSA-25W8-77GG-4CCW): @rhinostone/swig-core and the swig frontends: data passed to one render reaches other renders (locals in the options of a cached compile, an instance's default locals, a locals object passed to more than one render)

- Severity: High 8.2
- Published: Oct 25, 2026
- Affected: fixed in 2.9.6.

### [GHSA-G628-5X3R-G298](https://cve.now/GHSA-G628-5X3R-G298): @rhinostone/swig-core and the swig frontends: with the default memory cache, a page's override of a nested block shows on other pages that extend the same layout

- Severity: Medium 6.5
- Published: Oct 25, 2026
- Affected: fixed in 2.9.5.

### [GHSA-86PR-X856-XRQ5](https://cve.now/GHSA-86PR-X856-XRQ5): @rhinostone/swig-core and the swig frontends: templates that include, import or extend themselves load templates without end on the async render path (denial of service)

- Severity: High 7.5
- Published: Oct 25, 2026
- Affected: from 2.5.0, fixed in 2.9.5.

### [GHSA-F8F4-95Q3-38QW](https://cve.now/GHSA-F8F4-95Q3-38QW): @rhinostone/swig-twig and @rhinostone/swig-jinja2: unbounded memory allocation (denial of service) in ranges, batch and slice from template data

- Severity: High 7.5
- Published: Oct 24, 2026
- Affected: from 2.5.0, fixed in 2.9.2.

### [GHSA-RVX7-JQR9-C242](https://cve.now/GHSA-RVX7-JQR9-C242): @rhinostone/swig and its Twig, Jinja2 and Django frontends: quadratic-time regular expressions in striptags, trim and other filters (denial of service)

- Severity: High 7.5
- Published: Oct 24, 2026
- Affected: from 2.5.0, fixed in 2.9.1.

### [GHSA-48RG-VG49-R5VM](https://cve.now/GHSA-48RG-VG49-R5VM): @rhinostone/swig-jinja2 and @rhinostone/swig-twig: unbounded loop (denial of service) in wordwrap and range from template data

- Severity: High 7.5
- Published: Oct 21, 2026
- Affected: fixed in 2.8.2.

### [GHSA-Q89C-947C-M7XR](https://cve.now/GHSA-Q89C-947C-M7XR): @rhinostone/swig-core: code execution via an unescaped template filename in the compiled template body

- Severity: Critical 9.8
- Published: Oct 21, 2026
- Affected: fixed in 2.8.3.

### [GHSA-2MF3-MR2R-R4VF](https://cve.now/GHSA-2MF3-MR2R-R4VF): @rhinostone/swig: arbitrary local file read via include/extends path traversal

- Severity: High
- Published: Aug 18, 2026
- Affected: fixed in 2.7.1.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/@rhinostone/swig-jinja2
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
