Description
SurveyKing 1.13.0 through 1.13.2 contains a stored cross-site scripting vulnerability because the server accepts a respondent-supplied survey snapshot and the frontend renders its titles via innerHTML. Anonymous respondents can submit a forged snapshot embedding event handlers such as img onerror that execute in an administrator's browser session when the response is viewed.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| javahuang | SurveyKing | 1.13.0 ≤1.13.2 | — |
References
- https://vul.yulun.ac.cn/20261107/surveyking/
- https://github.com/javahuang/SurveyKing/issues/92
- https://github.com/javahuang/SurveyKing/blob/5de0d05b682ee34244c0b6c07be24eb6358cd8a5/server/rdbms/src/main/java/cn/surveyking/server/impl/AnswerServiceImpl.java#L728-L737
- https://www.vulncheck.com/advisories/surveyking-1.13.0-through-1.13.2-stored-xss-via-response-survey-snapshot