Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Security concern regarding outdated Chromium installed during initial setup #341

Open
yhatt opened this issue Oct 18, 2023 · 0 comments
Open

Comments

@yhatt
Copy link

yhatt commented Oct 18, 2023

The Markdown PDF extension automatically installs Chromium 80.0.3987.0 during its initial setup for PDF generation. This particular version was released over three years ago and may still harbor security vulnerabilities that have come to light since its release. An adversary with malicious intent could potentially exploit these unpatched vulnerabilities by embedding tricks within the Markdown content.

This extension is providing the option to configure the Chromium path, and allowing users to mitigate security risks by using a more recent version of Chromium. However, considering the likelihood that many users may stick with the default settings, the automatic installation may still be exposing a significant number of users to potential security risks.

To address this issue, the following steps could be considered:

  • Workaround: Update Puppeteer to the latest, for getting the latest Chromium.
  • Permanent: Fetch the latest release of Chromium from remote during initial setup, or always use the browser that users have manually installed instead of automatically installing Chromium.
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

No branches or pull requests

1 participant