Skip to content

XSS injection vulnerability exists in \templates\m\inc_head.php #8

@wangqiao258

Description

@wangqiao258

inc_head.php
<input type="text" id="abc" class="search-txt" value="<?php if(isset($_GET['q'])) echo $_GET['q'];?>" />
$_GET['q'] not filtered

so we can use ?q="><script>alert(1)</script>
1639617312(1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions