Skip to content
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

MiniCMS reflective XSS in #24

glo0m7 opened this issue Sep 4, 2018 · 0 comments


None yet
1 participant
Copy link

commented Sep 4, 2018

This is a reflective XSS vulnerability because "echo $_SERVER['REQUEST_URI'];" in 39 line


  <form action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
  <div id="login_title">MiniCMS</div>
  <div id="login_form">
    <div id="login_form_box">
      <div class="label">帐号</div>
      <div class="textbox"><input name="user" type="text" /></div>
      <div class="label">密码</div>
      <div class="textbox"><input name="pass" type="password" /></div>
      <div class="bottom"><input name="login" type="submit" value="登录" class="button" /></div>

In Firefox and chrome, URL will be URLencoded.
In IE, if has Redirection,URL will not be URLencoded.
IE exp: exp.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.