Skip to content

fix(deps): update dependency remark-html to v13 [security] - abandoned#89

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-remark-html-vulnerability
Open

fix(deps): update dependency remark-html to v13 [security] - abandoned#89
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/npm-remark-html-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Oct 19, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
remark-html ^9.0.0 -> ^13.0.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2021-39199

Impact

The documentation of remark-html has mentioned that it was safe by default. In practise the default was never safe and had to be opted into. This means arbitrary HTML can be passed through leading to potential XSS attacks.

Patches

The problem has been patched in 13.0.2 and 14.0.1: remark-html is now safe by default, and the implementation matches the documentation.

Workarounds

On older affected versions, pass sanitize: true, like so:

-  .use(remarkHtml)
+  .use(remarkHtml, {sanitize: true})

References

n/a

For more information

If you have any questions or comments about this advisory:


Release Notes

remarkjs/remark-html

v13.0.2

Compare Source

  • b0b1ba5 Fix to sanitize by default
    The docs have always said remark-html is safe by default. It wasn’t and this patches that.

    If you do want to be unsafe, use remark-html with sanitize: false:

    -  .use(remarkHtml)
    +  .use(remarkHtml, {sanitize: false})

Full Changelog: remarkjs/remark-html@13.0.1...13.0.2

v13.0.1

Compare Source

  • 7a8cb0e Update mdast-util-to-hast

v13.0.0

Compare Source

  • 0b1cd0a Change to comply to CommonMark
    (breaking, potentially, if you have duplicate definitions)

v12.0.0

Compare Source

  • 87d88f7 Add types
    (breaking, potentially, if you or your dependents use typescript)

v11.0.2

Compare Source

v11.0.1

Compare Source

v11.0.0

Compare Source

v10.0.0

Compare Source

v9.0.1

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), 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 has been generated by Mend Renovate. View repository job log here.

@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 24, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@renovate renovate bot changed the title fix(deps): update dependency remark-html to v13 [security] fix(deps): update dependency remark-html to v13 [security] - abandoned Mar 27, 2026
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 27, 2026

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

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