8000 修正 $key 未编码导致的异常页面 XSS 漏洞(ThinkPHP 6.0) by big-dream · Pull Request #3001 · top-think/framework · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

修正 $key 未编码导致的异常页面 XSS 漏洞(ThinkPHP 6.0) #3001

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

Merged
merged 1 commit into from
Apr 16, 2024

Conversation

big-dream
Copy link
Contributor

修正异常页面的 XSS 漏洞

GET http://127.0.0.1:8080/?%3Cscript%3Eeval(atob(`YWxlcnQoJzEyMycp`))%3C/script%3E=1
<?php

namespace app\controller;

class Index
{
    public function index(array $params)
    {
    }
}

修正异常页面的 XSS 漏洞
```http
GET http://127.0.0.1:8080/?%3Cscript%3Eeval(atob(`YWxlcnQoJzEyMycp`))%3C/script%3E=1
```

```php
<?php

namespace app\controller;

class Index
{
    public function index(array $params)
    {
    }
}
```
@big-dream big-dream linked an issue Apr 16, 2024 that may be closed by this pull request
@big-dream big-dream merged commit d3904e5 into top-think:6.0 Apr 16, 2024
@big-dream big-dream deleted the 6.0-issues-2996 branch August 5, 2024 08:08
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

Successfully merging this pull request may close these issues.

Reflected XSS(Cross Site Scripting)
1 participant
0