2022-05-29 10:39:24 +00:00
|
|
|
id: CVE-2022-0776
|
|
|
|
|
|
|
|
info:
|
2022-09-16 19:50:10 +00:00
|
|
|
name: RevealJS postMessage <4.3.0 - Cross-Site Scripting
|
2022-05-29 10:39:24 +00:00
|
|
|
author: LogicalHunter
|
2022-09-16 19:50:10 +00:00
|
|
|
severity: high
|
|
|
|
description: RevealJS postMessage before 4.3.0 contains a cross-site scripting vulnerability via the document object model.
|
2022-05-29 10:39:24 +00:00
|
|
|
reference:
|
|
|
|
- https://hackerone.com/reports/691977
|
|
|
|
- https://github.com/hakimel/reveal.js/pull/3137
|
|
|
|
- https://huntr.dev/bounties/be2b7ee4-f487-42e1-874a-6bcc410e4001/
|
2022-09-16 19:50:10 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-0776
|
2022-05-31 14:34:35 +00:00
|
|
|
classification:
|
2022-09-16 19:50:10 +00:00
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 7.2
|
|
|
|
cwe-id: CWE-79
|
2022-05-31 14:34:35 +00:00
|
|
|
cve-id: CVE-2022-0776
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: hackerone,huntr,cve,cve2022,headless,postmessage,revealjs
|
2022-05-29 10:39:24 +00:00
|
|
|
|
|
|
|
headless:
|
|
|
|
- steps:
|
|
|
|
- args:
|
|
|
|
url: "{{BaseURL}}"
|
|
|
|
action: navigate
|
|
|
|
- action: waitload
|
|
|
|
- action: script
|
|
|
|
name: extract
|
|
|
|
args:
|
|
|
|
code: |
|
|
|
|
() => {
|
|
|
|
return (Reveal.VERSION <= "3.8.0" || Reveal.VERSION < "4.3.0")
|
|
|
|
}
|
|
|
|
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: extract
|
|
|
|
words:
|
|
|
|
- "true"
|
2022-09-16 19:50:10 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/09/14
|