A reflected cross-site scripting (XSS) vulnerability exists in the initialization component of ADM during its first-run setup state. The vulnerability arises because an unauthenticated sid query parameter is inserted into inline JavaScript without proper encoding, allowing execution of arbitrary JavaScript in the ADM management origin. This affects ADM versions from 4.1.0 through 4.3.3.RY62 and 5.0.0 through 5.1.4.RM62. Exploitation requires a user to open a crafted URL during the uninitialized state of the NAS device.