Skip to content

fix: sanitise and escape the pretty option#3314

Merged
ForbesLindesay merged 1 commit intomasterfrom
fix/pp-escaping
Feb 28, 2021
Merged

fix: sanitise and escape the pretty option#3314
ForbesLindesay merged 1 commit intomasterfrom
fix/pp-escaping

Conversation

@ForbesLindesay
Copy link
Copy Markdown
Member

No description provided.

@rollingversions
Copy link
Copy Markdown

rollingversions bot commented Feb 28, 2021

pug (3.0.0 → 3.0.1)

Bug Fixes

  • Sanitise the pretty option

    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.

pug-code-gen (3.0.1 → 3.0.2)

Bug Fixes

  • Sanitise the pretty option

    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.

Packages With No Changes

The following packages have no user facing changes, so won't be released:

  • pug-attrs
  • pug-error
  • pug-filters
  • pug-lexer
  • pug-linker
  • pug-load
  • pug-parser
  • pug-runtime
  • pug-strip-comments
  • pug-walk

Edit changelogs

@Nixinova
Copy link
Copy Markdown

Nixinova commented Mar 3, 2021

Could this also be released as a 2.X patch so people with "pug":"^2" can receive it?

@bramkragten
Copy link
Copy Markdown

Could this also be released as a 2.X patch so people with "pug":"^2" can receive it?

You can just upgrade pug-code-gen to 2.0.3

@songkeys
Copy link
Copy Markdown

songkeys commented Mar 4, 2021

@bramkragten

You can just upgrade pug-code-gen to 2.0.3

But pug < 3.0.1 is labelled as a vulnerability. My security system keeps arguing that I should upgrade my pug@^2 to 3.0.1.

I think we should have a branch to cut a release for 2.X or remove the vulnerability label for pug.

This was referenced Mar 7, 2021
This was referenced Mar 16, 2021
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.

4 participants