Skip to main content
CVE-2026-78689VulnerabilityPublished Updated

Libnginx mod js: Description NGINX JavaScript (njs) has a vulnerability in the XML module's namespace prefix list

Affects libnginx-mod-jsSource GCVE Database

0
Compare
Authoritative record:CVE-2026-78689· High 8.1

Not known to be exploited · CVSS 8.1 High.

Data as of 24 Nov 2026, 21:16 UTC

CVSS 3.1 base score
8.1High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libnginx-mod-jspkg:deb/ubuntu/libnginx-mod-js?arch=source&distro=stonkingOther threatsAffected
  • 0.9.4-1build2 – 1.0.0-3
4 affected builds
Fixed in–
Ubuntu Pro 26.04 LTSlibnginx-mod-jspkg:deb/ubuntu/libnginx-mod-js?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • 0.9.1-1ubuntu2 – 0.9.4-1ubuntu0.1~esm1
7 affected builds
Fixed in–
Ubuntu 24.04 LTSlibnginx-mod-jspkg:deb/ubuntu/libnginx-mod-js?arch=source&distro=nobleOther threatsAffected
  • =0.7.12-2
  • =0.8.2-1ubuntu1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

Description NGINX JavaScript (njs) has a vulnerability in the XML module's namespace prefix list parser, reachable through the xml.exclusiveC14n() method. An unauthenticated remote attacker can trigger it when an affected NGINX configuration passes an externally controlled XML namespace prefix list to that method. Both the njs and the QuickJS (qjs) engines are affected. A crafted prefix list causes an out-of-bounds write past the end of a heap allocation. With the njs engine, which is the engine used when the js_engine directive is absent, this corrupts adjacent objects and crashes the NGINX worker. With the QuickJS engine, the same call additionally leaks the prefix list on every invocation, causing worker memory to grow across requests. The official nginxinc/nginx-saml reference implementation is affected during SAML signature verification. It reads InclusiveNamespaces/@PrefixList from an untrusted SAML message and passes it to xml.exclusiveC14n() before the signature has been verified, so a valid SAML signature is not required. A crafted SAML Response, Assertion, LogoutRequest, or LogoutResponse is sufficient. Code execution has not been demonstrated and cannot be ruled out for all platforms, as the effect of the out-of-bounds write depends on conditions beyond the attacker's control. Impact This vulnerability allows remote attackers to cause a denial of service on the NGINX system, either through repeatable worker restarts or through worker memory growth or possibly trigger code execution. 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.

References

Community reviews

Loading reviews…