Skip to content

[馃惛 Frogbot] Update version of pug to 3.0.3 - #3

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
frogbot-pug-19e9c21f0e44586c1af41e4c5849f89a
Open

github-actions[bot] wants to merge 1 commit into
mainfrom
frogbot-pug-19e9c21f0e44586c1af41e4c5849f89a

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 1, 2025

Copy link
Copy Markdown

馃毃 This automated pull request was created by Frogbot and fixes the below:

馃摝 Vulnerable Dependencies

Severity ID Contextual Analysis Direct Dependencies Impacted Dependency Fixed Versions
critical
Critical
CVE-2021-21353 Not Covered pug:2.0.4 pug 2.0.4 [3.0.1]

馃敄 Details

Vulnerability Details

Contextual Analysis: Not Covered
Direct Dependencies: pug:2.0.4
Impacted Dependency: pug:2.0.4
Fixed Versions: [3.0.1]
CVSS V3: 9.0

Pug is an npm package which is a high-performance template engine. In pug before version 3.0.1, if a remote attacker was able to control the pretty option of the pug compiler, e.g. if you spread a user provided object such as the query parameters of a request into the pug template inputs, it was possible for them to achieve remote code execution on the node.js backend. This is fixed in version 3.0.1. This advisory applies to multiple pug packages including "pug", "pug-code-gen". pug-code-gen has a backported fix at version 2.0.3. This advisory is not exploitable if there is no way for un-trusted input to be passed to pug as the pretty option, e.g. if you compile templates in advance before applying user input to them, you do not need to upgrade.


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant