# CVE-2026-101025: NGINX ngx_http_js_module vulnerability

- Vendor: F5, NGINX JavaScript
- Severity: MEDIUM (CVSS 4.0 6.9)
- Exploited (CISA KEV): not listed
- EPSS: 0.3% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: K000162614, https://my.f5.com/manage/s/article/K000162614
- Published: 2023-01-01; updated: 2026-10-14
- Page: https://patchtonight.com/cve/CVE-2026-101025/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| NGINX JavaScript 0.7 | 1.0.2 or later |

## The vendor's description

Description


NGINX JavaScript (njs) has a vulnerability where the built-in njs engine leaks a libxml2 parser context when xml.parse() fails. The failure path did not register cleanup and the context was not released for the lifetime of the process. An unauthenticated attacker may send requests with malformed XML and can cause unbounded memory growth in long-lived NGINX worker processes.

Impact


This vulnerability may allow remote attackers to send requests that trigger repeated parsing of malformed XML and may lead to NGINX worker termination or denial of service. There is no control plane exposure; this is a data plane issue only.



 Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

## Workarounds

Use the QuickJS engine with js_engine qjs;, which is not affected. Where migration is not possible, avoid passing attacker-controlled XML to xml.parse(), reject or rate-limit malformed input, and use worker memory limits.

## Sources

- [F5 advisory](https://my.f5.com/manage/s/article/K000162614)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
