Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit survey response anonymously
-
DeliveryForge snapshot with img onerror in titles
-
ExploitAdministrator opens response in admin UI
-
ExecutionFrontend renders title via innerHTML
-
ImpactPayload executes in admin session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the deployment accepts a respondent-supplied survey snapshot on response submission (the behavior present in SurveyKing 1.13.0-1.13.2) and that titles from that snapshot are rendered via innerHTML in the admin response-viewing interface. The attacker needs no account - anonymous respondents can submit the forged snapshot (PR:N). The key limiting factor is UI:P: the payload does not fire until an administrator opens and views the malicious submitted response, so there is no automatic server-side execution. Impact is confined to the administrator's browser session (script execution as the viewing admin), not direct server compromise. No special non-default configuration is identified in the sources as a prerequisite beyond running an affected version. |
| Impact | This is a medium-severity stored XSS (CVSS 4.0 base 5.3, CWE-79) that represents a genuine but non-emergency priority. The strongest signals: the input CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P) confirms a remote, low-complexity, unauthenticated submission path, and the vulnerable code is pinpointed in a linked source file (AnswerServiceImpl.java lines 728-737), giving high confidence the flaw is real and well-understood. Counterbalancing signals keep it off the critical tier: impact is only Low across confidentiality and integrity (VC:L/VI:L, with subsequent-system SC:L/SI:L reflecting that the payload executes in the admin's distinct browser context), and exploitation is gated by UI:P - an administrator must actually view the malicious response for the payload to fire. No EPSS score was provided in the input, so exploitation probability cannot be quantified; the vulnerability is NOT on CISA KEV, so there is no evidence of active exploitation. The vuln.today Decision label is 'this_month', consistent with a real-but-routine remediation timeline rather than act_now/emergency. Note one point to verify: the CVSS marks PR:N because the attacker (an anonymous respondent) needs no privileges to submit the forged snapshot, but the harmful script executes against a privileged administrator session - defenders should read the 'unauthenticated' qualifier as applying to the attacker's submission, not to the victim context. |
| Exploit ScenarioDerived | An anonymous respondent submits a survey response but forges the accompanying survey snapshot so that a question/section title contains an HTML event-handler payload such as an img tag with an onerror attribute. When an administrator later opens that submitted response in the SurveyKing admin interface, the frontend renders the attacker-controlled title via innerHTML, executing the script in the administrator's authenticated session. No verified working exploit code is identified in the input, though a public advisory (VulnCheck), a GitHub issue (#92), and the exact vulnerable source location describe the mechanism. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 13, 2026
Stored cross-site scripting in SurveyKing 1.13.0 through 1.13.2 allows anonymous survey respondents to plant script that runs in an administrator's browser: the server accepts a respondent-supplied survey snapshot on response submission and the admin response viewer renders the snapshot's titles through innerHTML, so a forged snapshot carrying event handlers such as img onerror executes when an administrator opens the response. No account is required on the attacker side, but the payload is inert until an administrator views the submission (UI:P), and the impact is confined to that administrator's browser session rather than the server. Severity is medium (CVSS 4.0 base 5.3, CWE-79); no exploitation in the wild has been confirmed and no verified working exploit code is confirmed in the available data, though the upstream GitHub issue and a linked third-party writeup describe the mechanism.
RemediationAI
No vendor-released patched version is identified in the available data; the upstream GitHub issue (https://github.com/javahuang/SurveyKing/issues/92) and the VulnCheck advisory are the tracking points, so confirm a fixed release there and upgrade as soon as one is published. Until then, the most effective control targets the actual mechanism: on the server side in AnswerServiceImpl (around lines 728-737), stop accepting and persisting a client-supplied survey snapshot from respondent submissions - instead resolve the snapshot server-side from the stored survey definition, or strip unknown/extra snapshot fields before saving; the trade-off is that any feature relying on respondent-carried snapshot data (offline or versioned form rendering) will break, and this change must be maintained across upgrades. In the admin frontend, render snapshot titles with textContent or an escaping/sanitizing step instead of innerHTML, which removes the sink outright but can regress rich formatting in titles. As an interim compensating control, deploy a Content-Security-Policy on the admin interface without 'unsafe-inline' for script-src so inline event handlers such as img onerror are blocked - this mitigates execution but does not fix the underlying storage of attacker-controlled markup, and it may break admin UI code that relies on inline scripts. Additionally restrict access to the response-review interface to trusted networks or administrators who do not browse untrusted submissions in a session holding other sensitive privileges, since the impact is limited to the viewing administrator's browser session. Given the this_month priority rather than an emergency rating, these changes can be scheduled within the current patch cycle rather than as an out-of-band response.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SurveyKing is a Java-based survey/questionnaire platform (vendor namespace javahuang) whose response handling lives in the server/rdbms module, specifically AnswerServiceImpl.java around lines 728-737, where the server persists a survey snapshot supplied by the respondent alongside the answer payload. Because that client-supplied snapshot is stored and later re-rendered, the flaw is a persistent (stored) CWE-79 improper-neutralization-of-input-during-web-page-generation issue rather than a reflected one: the untrusted data crosses a trust boundary from an unauthenticated respondent into an administrator-facing view. The sink is the frontend's use of innerHTML for snapshot titles, which means markup in the title - including event-handler attributes like onerror on an img element - is parsed as HTML and executed in the DOM of whichever administrator opens the response. CVSS 4.0 scores it AV:N/AC:L/AT:N/PR:N/UI:P with low confidentiality and integrity impact and a changed-scope style spill into the viewing user's context (VC:L/VI:L/SC:L/SI:L); the independent CVSS 3.1 assessment (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) agrees on the anonymous attack path and on user interaction being the limiting factor. Nothing in the sources indicates server-side code execution, authentication bypass, or a non-default configuration prerequisite beyond running an affected release.
Know when Surveyking gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Anonymous respondent submits the payload (PR:N, AV:N, AC:L), an admin must view it (UI:R), and it executes in a different security context (S:C) with limited C/I impact and no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Surveyking
View allSurvey King v0.3.0 does not filter data properly when exporting excel files, allowing attackers to execute arbitrary cod
SurveyKing v1.3.1 was discovered to keep users' sessions active after logout. Rated critical severity (CVSS 9.1), this v
An issue in SurveyKing v1.3.1 allows attackers to escalate privileges via re-using the session ID of a user that was del
Path traversal in the SurveyKing File Upload component lets remote attackers manipulate the basePath argument passed to
SurveyKing v0.2.0 was discovered to retain users' session cookies after logout, allowing attackers to login to the syste
Unauthenticated disclosure of complete stored survey responses affects SurveyKing 1.13.2 deployments that publish a surv
An issue in SurveyKing v1.3.1 allows attackers to execute a session replay attack after a user changes their password. R
Unauthenticated stored-file disclosure in SurveyKing before 1.13.0 lets remote attackers download arbitrary attachments
Authenticated users of SurveyKing 1.12.0 through 1.13.2 can abuse the linked-survey feature to read responses and perfor
SurveyKing 1.12.0 through 1.13.2 does not enforce its login-required or survey-password checks in AnswerServiceImpl.save
EUVD-2026-125612
GHSA-r453-r877-6ghr
NVD
CVE.org
EPSS
Exploit-DB