Friday, July 30, 2021

ObjectPlanet Opinio 7.12 Cross Site Scripting

# Exploit Title: ObjectPlanet Opinio 7.12 allows Cross-Site Scripting
# Vendor Homepage:
# Software Link:
# Exploit Authors: Ang Kar Min (
# CVE: CVE-2020-26563

# Timeline
- September 2019: Initial discovery
- July 2020: Reported to ObjectPlanet
- August 2020: Fix/patch provided by ObjectPlanet
- July 2021: Published CVE-2020-26563

# 1. Introduction
Opinio is a survey management solution by ObjectPlanet that allows surveys to be designed, published and managed.

# 2. Vulnerability Details
ObjectPlanet Opinio before version 7.13 is vulnerable to stored Cross-Site Scripting (Stored XSS) and reflected Cross-Site Scripting (Reflected XSS).

# 3. Proof of Concept

### Reflected XSS executed in URL ###

The following payload was executed when injected as part of the URL"/survey/admin/":


Affected URL:/survey/admin/

### Stored XSS ###
Stored XSS payload such as “<script>alert(‘XSS ATTACK’)</script> can be saved for various parameter fields. This malicious payload can be executed upon a user visit to a page that publishes or previews the payload.

For example, a malicious XSS script can be added during the creation of a survey question for a given survey. During the preview of the survey, the stored XSS payload will trigger the XSS vulnerability.

The previous example can be observed in other variations of the vulnerability where the affected parameters accepts the malicious script.

Affected URL(s) and Parameter(s):
- /survey/admin/
'questionText', 'ratingMinText', 'ratingMaxText', 'ratingNALabel', 'multMinError', 'numError', 'numPrefix', 'numPostfix', 'numReqError', 'dropdownLabel', parameters

- /survey/admin/
'title' parameter

- /survey/admin/
'text' parameter

- /survey/admin/
'plugin_survey_closed_message', 'plugin_restrict_nrics', '&plugin_survey_email_content' parameter

- /survey/admin/
'confirmMessageKeyParam', ‘org.apache.struts.taglib.html.TOKEN’ parameter

- /survey/admin/
'msgKey' parameter

- /survey/admin/
'resourceName', ‘resourcePath’ parameter

- /survey/admin/
'characterEncoding', 'emailForErrors', 'fromEmail', 'language', 'systemBaseUrl' parameters

- /survey/admin/
arbitrarily supplied URL parameter

- /survey/admin/
arbitrarily supplied URL parameter

- /survey/admin/
arbitrarily supplied URL parameter

# 4. Remediation
Apply the latest fix/patch from objectplanet.

# 5. Credits
Ang Kar Min (

Copyright © 2021 Vulnerability Database | Cyber Details™

thank you Templateism for the design - You should have written the code a little more complicated - Nothing Encrypted anymore