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

There is a XSS #392

CCCCCrash opened this Issue Nov 22, 2018 · 2 comments


None yet
2 participants

CCCCCrash commented Nov 22, 2018

In the install/database.php

line 9:$cur_lang = $_REQUEST['lang'] ? $_REQUEST['lang'] :"zh";

$cur_langaccept the parameter from the $_REQUEST['lang'],then in the line:142

<input type="hidden" value="<?php echo $cur_lang;?>" id="lang">

put the parameter directly in the html

i reproduce the attack in the docker.

after set up the docker, just open the url:



the source code:


remove install.lock if you want to reproduce it again


This comment has been minimized.


star7th commented Nov 22, 2018

It is ok .
Nobody will visit this url before install . And nobody can visit this url afer install


This comment has been minimized.

CCCCCrash commented Nov 22, 2018

Yep.thank you for your reply.

@CCCCCrash CCCCCrash closed this Nov 22, 2018

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