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

XSS injection vulnerability exists in /upload/callback.php #1

Open
zhuxianjin opened this Issue Mar 6, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@zhuxianjin
Copy link

zhuxianjin commented Mar 6, 2019

callback.php

<?php
    $params=$_GET['params'];
    $params=preg_replace('~(\\\")~','"',$params);
    echo('<script>window.parent.callback_upload(\''.$params.'\');</script>');
?>

$params not filtered

so we can use ?params=</script><script>alert(1)</script>

@fgeek

This comment has been minimized.

Copy link

fgeek commented Mar 10, 2019

CVE-2019-9595 has been assigned for this vulnerability.

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.