Advisory record · GHSA-p493-635q-r6gr

Remote code execution via the `pretty` option.

CVSS 6.8 MediumEPSS 0.043 · 91st percentile

Published by the GitHub Advisory Database at 3 Mar 2021, 02:03 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pugnpm<3.0.13.0.1
pug-code-gennpm<2.0.3 || >=3.0.0, <3.0.22.0.3, 3.0.2
Identifiers
GHSA-p493-635q-r6gr · CVE-2021-21353
Weakness (CWE)
CWE-74 · CWE-94
Published
3 Mar 2021
Updated
10 Sept 2026

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.8 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.043, the 91st percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 3 Mar 2021, 01:50 UTC Confirmed by the CVE List
  2. 3 Mar 2021, 02:15 UTC Confirmed by NVD

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.