LavaLite / cms

Multilingual PHP CMS built with Laravel and bootstrap

Home Page:https://lavalite.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cross Site Scripting Vulnerability on "Contact" feature in Lavelite.

Songohan22 opened this issue · comments

Describe the bug
An authenticated malicious user can take advantage of a Stored XSS vulnerability in the "Contact" feature.
To Reproduce
Steps to reproduce the behavior:

  1. Log into the panel.
  2. Go to "/admin/contact/contact"
  3. Click "New"
    Insert payload:
    3
    <svg/on<script><script>load=alert('XSS')//</script>
    // # "><svg/onload=prompt('XSS')>
  4. Click "Save "
  5. View the preview to trigger XSS.
  6. View the preview to get in request and such Stored XSS
    Expected behavior
    The removal of script tags is not sufficient to prevent an XSS attack. You must HTML Entity encode any output that is reflected back to the page.
    Impact
    Commonly include transmitting private data, like cookies or other session information, to the attacker, redirecting the victim to web content controlled by the attacker, or performing other malicious operations on the user’s machine under the guise of the vulnerable site.
    Screenshots
    photo_2020-05-25_16-05-18
    photo_2020-05-25_16-05-24
    Desktop (please complete the following information):
  • OS: Windows
  • Browser: Firefox
  • Version: 76.0.1

this issue is not fix also