Skip to content

Update dependency pug to v3.0.3 [SECURITY] - #78

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-pug-vulnerability
Open

Update dependency pug to v3.0.3 [SECURITY]#78
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/npm-pug-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jun 4, 2024

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pug (source) 3.0.13.0.3 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Pug allows JavaScript code execution if an application accepts untrusted input

CVE-2024-36361 / GHSA-3965-hpx2-q597

More information

Details

Pug through 3.0.2 allows JavaScript code execution if an application accepts untrusted input for the name option of the compileClient, compileFileClient, or compileClientWithDependenciesTracked function. NOTE: these functions are for compiling Pug templates into JavaScript, and there would typically be no reason to allow untrusted callers.

Severity

  • CVSS Score: 6.8 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

pugjs/pug (pug)

v3.0.3

Compare Source

Bug Fixes

  • Update pug-code-gen with the following fix: (#​3438)

    Validate templateName and globals are valid JavaScript identifiers to prevent possible remote code execution if un-trusted user input is passed to the compilation options

v3.0.2

Compare Source

Bug Fixes

  • Sanitise the pretty option (#​3314)

    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. All pug users should upgrade as soon as possible, see #​3312 for more details.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/npm-pug-vulnerability branch from 9eae7ab to e620ea0 Compare September 25, 2025 20:09
@renovate
renovate Bot force-pushed the renovate/npm-pug-vulnerability branch from e620ea0 to 6a1ce58 Compare February 12, 2026 13:58
@renovate
renovate Bot force-pushed the renovate/npm-pug-vulnerability branch from 6a1ce58 to dc058eb Compare March 13, 2026 16:04
@renovate renovate Bot changed the title Update dependency pug to v3.0.3 [SECURITY] Update dependency pug to v3.0.3 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate
renovate Bot deleted the renovate/npm-pug-vulnerability branch March 27, 2026 01:26
@renovate renovate Bot changed the title Update dependency pug to v3.0.3 [SECURITY] - autoclosed Update dependency pug to v3.0.3 [SECURITY] Apr 1, 2026
@renovate renovate Bot reopened this Apr 1, 2026
@renovate
renovate Bot force-pushed the renovate/npm-pug-vulnerability branch 2 times, most recently from dc058eb to 8f31156 Compare April 1, 2026 17:37
@renovate renovate Bot changed the title Update dependency pug to v3.0.3 [SECURITY] Update dependency pug to v3.0.3 [SECURITY] - autoclosed Apr 15, 2026
@renovate renovate Bot closed this Apr 15, 2026
@renovate renovate Bot changed the title Update dependency pug to v3.0.3 [SECURITY] - autoclosed Update dependency pug to v3.0.3 [SECURITY] Apr 16, 2026
@renovate renovate Bot reopened this Apr 16, 2026
@renovate
renovate Bot force-pushed the renovate/npm-pug-vulnerability branch 2 times, most recently from 8f31156 to dd5e3e3 Compare April 16, 2026 17:09
@renovate renovate Bot changed the title Update dependency pug to v3.0.3 [SECURITY] Update dependency pug to v3.0.3 [SECURITY] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title Update dependency pug to v3.0.3 [SECURITY] - autoclosed Update dependency pug to v3.0.3 [SECURITY] Apr 29, 2026
@renovate renovate Bot reopened this Apr 29, 2026
@renovate
renovate Bot force-pushed the renovate/npm-pug-vulnerability branch 2 times, most recently from dd5e3e3 to c48916d Compare April 29, 2026 11:55
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.

0 participants