Skip to content

XSS vulnerability found via <iframe> src attribute #701

Open

Description

@showuon

Test Environment:
Firefox Quantum 67.0.3/Chrome 75.0.3770.100/Safari 12.1.1

Description:
User can use <iframe> src attribute to insert malicious javascript codes, and then execute it.

Reproduce steps

1. go to https://pandao.github.io/editor.md/en.html or any open editor.md apps
2. in the edit mode, input the following malicious codes
<iframe src=javascript://%0aalert(document.cookie)>

Expected Results
No malicious javascript codes should be executed

Actual Results
The malicious codes are executed
image

Activity

  1. alromh87 commented on Sep 9, 2020

    @alromh87

    Can you try against this version please, also be sure the have the iframe filter enabled:
    https://github.com/418sec/editor.md

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