Skip to content
Heist/ feed
Back to feed
UnratedFix available

Release notes from pug

Type: patchSources: Pug

The release fixes a remote code execution issue when an attacker controls the `pretty` option. Pug users should upgrade.

Products
pug
Affected versions
Not specified
Fixed versions
pug@3.0.1
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
29 Oct 2026, 21:09 UTC · Revision 1

Source evidence

Release notes from pug

github-pugjs-pug · Original source

Published 28 Feb 2021, 18:23 UTC

The release fixes a remote code execution issue when an attacker controls the `pretty` option. Pug users should upgrade.

If a malicious attacker could control the pretty option, it was possible for them to achieve remote code execution on the server rendering the template.

pug

Fixed versions: pug@3.0.1

Prerequisites: control the pretty option

Complete source record
{
  "id": "1e5814f263267e9ac633082c783f926bb4559067975c7f4b8778a3dfdcb4e8d8",
  "url": "https://github.com/pugjs/pug/releases/tag/pug%403.0.1",
  "method": "llm",
  "payload": {
    "kind": "patch",
    "title": "Release notes from pug",
    "summary": "The release fixes a remote code execution issue when an attacker controls the `pretty` option. Pug users should upgrade.",
    "evidence": "If a malicious attacker could control the pretty option, it was possible for them to achieve remote code execution on the server rendering the template.",
    "products": [
      {
        "name": {
          "value": "pug",
          "evidence": "Release notes from pug"
        },
        "prerequisites": [
          {
            "value": "control the pretty option",
            "evidence": "If a malicious attacker could control the pretty option"
          }
        ],
        "fixed_versions": [
          {
            "value": "pug@3.0.1",
            "evidence": "pug@3.0.1"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "fixed_cves": [],
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "github-pugjs-pug",
  "document_id": 22266,
  "published_at": "2021-02-28T18:23:40+00:00"
}