Description
Description
NGINX JavaScript (njs) has a vulnerability where the njs XML module exposes entity-backed XML attributes inconsistently with libxml2 canonicalization. In both the built-in njs and QuickJS backends during the canonicalization process, the $attr$Name getter may return undefined for an explicitly present attribute containing an internal entity reference. The $attrs getter may return a value derived only from the first attribute child. This may allow an unauthenticated attacker that invests significant effort in obtaining a genuinely signed document to skip validation while signature verification succeeds. An nginx-saml deployment is a confirmed affected consumer when run with the built-in njs backend.
Impact
In affected signed-XML consumers, an unauthenticated attacker can cause security-relevant attributes to appear absent or truncated while signature verification succeeds. In nginx-saml, this can bypass expiry, Destination, and request-correlation checks, enabling replay or acceptance of a response outside its intended context. It does not permit signature or identity forgery, or a direct availability impact. 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| F5 | NGINX JavaScript | 0.7.10 – < 1.0.2 | 1.0.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libnginx-mod-js | 1.0.2-1 | — |
| Debian 13 | libnginx-mod-js | No fix yet | — |
| Debian 12 | libnginx-mod-js | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libnginx-mod-js | No fix yet | — |
| Ubuntu 24.04 LTS | libnginx-mod-js | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | libnginx-mod-js | No fix yet | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nginx-mod-njs | 1.0.2-1.amzn2023.0.1 | ALAS2023-2026-3300 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | nginx | 1.30.6-1 | — |
Advisories 2
- WID-SEC-2026-3948 NGINX: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 11, 2026
- ALAS2023-2026-3300 Important: nginx-mod-njs security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 26, 2026
References
- https://my.f5.com/manage/s/article/K000162615 vendor-advisory