Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.
This repository was archived by the owner on Aug 30, 2023. It is now read-only.

Security breachΒ #254

Description

@brrd

The nodeIntegration is enabled in Abricotine renderer process, which means that any JavaScript code executed in the editor has a potential access to your computer files and your system API.

This can be dangerous when previewing untrusted contents, such as iframes and images.

All version are concerned.

To reduce the risk you can :

  • Disable iframe and images autopreview,
  • Avoid editing untrusted documents,
  • Use another markdow editor until this is fixed.

How to fix

Fulfill the prerequisites of https://electronjs.org/docs/tutorial/security

Especially:

Disable the Node.js integration in all renderers that display remote content

This probably implies a major refactoring of the code.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions