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
|
2023-04-28 13:11:35 +00:00
|
|
|
severity: medium
|
2022-09-16 19:50:10 +00:00
|
|
|
description: RevealJS postMessage before 4.3.0 contains a cross-site scripting vulnerability via the document object model.
|
2023-09-06 11:59:08 +00:00
|
|
|
remediation: |
|
|
|
|
Upgrade to RevealJS postMessage version 4.3.0 or later to mitigate this vulnerability.
|
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
|
2023-07-11 19:49:27 +00:00
|
|
|
- https://github.com/hakimel/reveal.js/commit/32cdd3b1872ba8e2267c9e87ae216cb55f40f4d2
|
2022-05-31 14:34:35 +00:00
|
|
|
classification:
|
2023-07-11 19:49:27 +00:00
|
|
|
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
|
2022-05-31 14:34:35 +00:00
|
|
|
cve-id: CVE-2022-0776
|
2023-07-11 19:49:27 +00:00
|
|
|
cwe-id: CWE-79
|
2023-10-14 11:27:55 +00:00
|
|
|
epss-score: 0.001
|
2023-11-27 09:19:41 +00:00
|
|
|
epss-percentile: 0.41034
|
2023-09-06 11:59:08 +00:00
|
|
|
cpe: cpe:2.3:a:revealjs:reveal.js:*:*:*:*:*:node.js:*:*
|
2023-07-11 19:49:27 +00:00
|
|
|
metadata:
|
|
|
|
vendor: revealjs
|
|
|
|
product: reveal.js
|
2023-09-06 11:59:08 +00:00
|
|
|
framework: node.js
|
2023-12-05 09:50:33 +00:00
|
|
|
tags: hackerone,huntr,cve,cve2022,headless,postmessage,revealjs,node.js
|
2022-05-29 10:39:24 +00:00
|
|
|
headless:
|
|
|
|
- steps:
|
|
|
|
- args:
|
|
|
|
url: "{{BaseURL}}"
|
|
|
|
action: navigate
|
2023-07-11 19:49:27 +00:00
|
|
|
|
2022-05-29 10:39:24 +00:00
|
|
|
- action: waitload
|
2023-07-11 19:49:27 +00:00
|
|
|
|
2022-05-29 10:39:24 +00:00
|
|
|
- action: script
|
|
|
|
name: extract
|
|
|
|
args:
|
|
|
|
code: |
|
|
|
|
() => {
|
|
|
|
return (Reveal.VERSION <= "3.8.0" || Reveal.VERSION < "4.3.0")
|
|
|
|
}
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: extract
|
|
|
|
words:
|
|
|
|
- "true"
|
2023-12-06 05:59:56 +00:00
|
|
|
# digest: 4b0a004830460221009e51c5cd5be7d45cc8aa16274286a76727a774247c7910e5aac8623a6472a76c022100bb40c26726c3e5d4786b7b7a3d2b9d8e83a68a8d299f8bf7651fedbe65a7cc7d:922c64590222798bb761d5b6d8e72950
|