r4vanan / CVE-2023-34845

Vulnerability POC for CVE-2023-34845

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CVE-2023-34845

Vulnerability POC for CVE-2023-34845

Vulnerability

I found a cross-site scripting attack on the new content creating page http://localhost:800/admin/new-content it will execute the script in user context allowing the attacker to access any cookies or sessions tokens retained by the browser. Stored XSS, also known as persistent XSS, is the more damaging than non-persistent XSS. It occurs when a malicious script is injected directly into a vulnerable web application.

Steps to reproduce the problem

  • login into the account

  • click on the new content like in that image new_content

  • click on the images button images_button

  • select the payload svg file which is injected with xss payload or ssrf payload payload

image-upload_success

  • insert and save the page
  • copy the image link and open in the new tab popup

About

Vulnerability POC for CVE-2023-34845