Skip to content
Heist/ feed
HighFix available

Nuclei: Arbitrary Code Execution via Goja JavaScript Engine Vulnerability

Type: advisorySource: OSV2 source records

A vulnerability in the Goja JavaScript engine used by Nuclei's `javascript:` protocol allows arbitrary native code execution on the scanner host when running untrusted JavaScript templates. **Affected Component** The issue is in the Goja JavaScript runtime embedded in Nuclei's JavaScript protocol (`pkg/js/`). An out-of-bounds heap write in the engine can be exploited to achieve native code execution during template evaluation. **Description** Nuclei uses the Goja engine to execute `javascript:` protocol templates. A memory safety vulnerability in Goja allows attacker-controlled JavaScript to corrupt heap memory and execute arbitrary native code on the host running Nuclei. Because `javascript:` templates execute without the `-code` flag and unsigned JavaScript templates run by default, a malicious template from an untrusted source can trigger code execution during a normal scan. The vulnerability could also be reached through a template's `init` section, which runs during template initialization before other security checks complete. > [!NOTE] JavaScript templates do not require the `-code` flag and are not subject to the code-template signing requirement on affected versions. Nuclei v3.11.0 adds a separate signing requirement for JavaScript templates as additional defense in depth. **Affected Users** - **CLI users** running untrusted or third-party `javascript:` templates. - **SDK users** who integrate Nuclei into platforms where end users can supply JavaScript templates. **P

Announced Group revision 1
Original source ↗

GHSA-vxg7-f2jj-jmqm

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GHSA-vxg7-f2jj-jmqm

github.com/projectdiscovery/nuclei/v3

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
3.10.0

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "3.0.0"
          },
          {
            "fixed": "3.10.0"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/projectdiscovery/nuclei/v3",
      "purl": "pkg:golang/github.com/projectdiscovery/nuclei/v3",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-vxg7-f2jj-jmqm/GHSA-vxg7-f2jj-jmqm.json"
    }
  }
]
Related CVEs
CVE-2026-76819

Source reference: /aliases

Publisher severity

high

Source reference: /database_specific/severity

Event
#63886 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement

GO-2026-6575

Revision 2

Nuclei: Arbitrary Code Execution via Goja JavaScript Engine Vulnerability in github.com/projectdiscovery/nuclei

Nuclei: Arbitrary Code Execution via Goja JavaScript Engine Vulnerability in github.com/projectdiscovery/nuclei

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:GO-2026-6575

github.com/projectdiscovery/nuclei

Source reference: /affected/0/package/name

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

github.com/projectdiscovery/nuclei/v2

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

github.com/projectdiscovery/nuclei/v3

Source reference: /affected/2/package/name

Affected versions
Not stated in this record
Fixed versions
3.10.0

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/projectdiscovery/nuclei",
      "purl": "pkg:golang/github.com/projectdiscovery/nuclei",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://vuln.go.dev/ID/GO-2026-6575.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/projectdiscovery/nuclei/v2",
      "purl": "pkg:golang/github.com/projectdiscovery/nuclei/v2",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://vuln.go.dev/ID/GO-2026-6575.json"
    },
    "ecosystem_specific": {}
  },
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "3.0.0"
          },
          {
            "fixed": "3.10.0"
          }
        ]
      }
    ],
    "package": {
      "name": "github.com/projectdiscovery/nuclei/v3",
      "purl": "pkg:golang/github.com/projectdiscovery/nuclei/v3",
      "ecosystem": "Go"
    },
    "database_specific": {
      "source": "https://vuln.go.dev/ID/GO-2026-6575.json"
    },
    "ecosystem_specific": {}
  }
]
Related CVEs
CVE-2026-76819

Source reference: /aliases

Publisher severity

No explicit severity was provided.

Linked CVE context

These ratings describe the referenced vulnerabilities and products. They are not a severity rating for every application using this dependency.

CVE-2026-76819 · High

github.com/projectdiscovery/nuclei/v3

Event
#63887 · Revision 2
Added to Heist Feed
Publisher date
Read the original announcement