51 lines
1.6 KiB
YAML
51 lines
1.6 KiB
YAML
id: CVE-2022-0776
|
|
|
|
info:
|
|
name: RevealJS postMessage <4.3.0 - Cross-Site Scripting
|
|
author: LogicalHunter
|
|
severity: medium
|
|
description: RevealJS postMessage before 4.3.0 contains a cross-site scripting vulnerability via the document object model.
|
|
remediation: |
|
|
Upgrade to RevealJS postMessage version 4.3.0 or later to mitigate this vulnerability.
|
|
reference:
|
|
- https://hackerone.com/reports/691977
|
|
- https://github.com/hakimel/reveal.js/pull/3137
|
|
- https://huntr.dev/bounties/be2b7ee4-f487-42e1-874a-6bcc410e4001/
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2022-0776
|
|
- https://github.com/hakimel/reveal.js/commit/32cdd3b1872ba8e2267c9e87ae216cb55f40f4d2
|
|
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-2022-0776
|
|
cwe-id: CWE-79
|
|
epss-score: 0.001
|
|
epss-percentile: 0.41078
|
|
cpe: cpe:2.3:a:revealjs:reveal.js:*:*:*:*:*:node.js:*:*
|
|
metadata:
|
|
vendor: revealjs
|
|
product: reveal.js
|
|
framework: node.js
|
|
tags: hackerone,huntr,cve,cve2022,headless,postmessage,revealjs
|
|
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"
|
|
|
|
# digest: 490a00463044022054556778806cf79ef097424efb36f79902c89ecf6250e44100d1ee7362fa2cf002204d7705dd9906a4ce6c7c333fd9f53b99eb3e8858e5082f03ca56ebf5eb71d63a:922c64590222798bb761d5b6d8e72950
|