[Swiftype] - Stored XSS via document field `url` triggers on `https://app.swiftype.com/engines/<engine>/document_types/<type>/documents/<id>`
该报告还没有中文解读。
原文摘录
摘自原文(2798 字符中的一小部分)
I have found a stored XSS when create a document via API-based engine. The XSS payload stored in `url` field. To understand about document schema for API-based engine, please go to https://swiftype.com/documentation/site-search/guides/schema-design#api-based
原文中的代码
curl -X POST 'https://api.swiftype.com/api/v1/engines/123/document_types/test/documents.json' \
-H 'Content-Type: application/json' \
-d '{
"auth_token": "gB7BT3iA3GhqoU_SWoRq",
"document": {
"external_id": "v1uyQZNg2vE",
"fields": [
{"name": …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Elastic 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @superman85 · 版权归作者与 Elastic 所有