Skip to content

Reflected XSS vulnerability in wcms/wcms/wex/cssjs.php #9

@nenf

Description

@nenf

Hi, dev team!

There is Reflected XSS vulnerability in wcms/wcms/wex/cssjs.php file.

The vulnerable code is:

64: type='<?php echo $_GET['type'];?>'>

Example POC: Just send any js code in type parameter like: type=<script>alert()</script>

Reflected cross-site scripting (or XSS) arises when an application receives data in an HTTP request and includes that data within the immediate response in an unsafe way. If an attacker can control a script that is executed in the victim's browser, then they can typically fully compromise that user.

To prevent xss use next manual: https://portswigger.net/web-security/cross-site-scripting/preventing.

Please let me know about any fixes, I would like to register CVE number.

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