Cross-site Scripting (XSS) - Stored in yetiforcecompany/yetiforcecrm


Reported on

Aug 17th 2022


The application uses Purify to avoid the Cross Site Scripting attack. However, On ApiAddress module from Settings, the customFields is not validated and it's used directly without any encoding or validation on ApiConfigModal.tpl. It allows attacker to inject arbitrary Javascript code to perform an Stored XSS attack.

Proof of Concept

  1. 1- Login to the application
  2. 2- Access the ApiAddress Module via the following URL:
  4. 3- Click to the button "Configure provider",
  5. Change the value of "map_url" parameter with the following payload:"+onfocus="alert(document.domain)"+autofocus=""+"
  1. Or change the value of "country_codes" with the following payload:
  1. **Inject the payload
  2. Payload XSS

PoC Video

Vulnerable Code

  1. 1- The CustomFields is not validated and map_url allow special characters: NotValidation
  2. 2- The parameter is not encoded and use directly:
  3. NotEncoding


An XSS attack allows an attacker to execute arbitrary JavaScript in the context of the attacked website and the attacked user. This can be abused to steal session cookies, perform requests in the name of the victim or for phishing attacks.

We are processing your report and will contact the yetiforcecompany/yetiforcecrm team within 24 hours. a year ago
A GitHub Issue asking the maintainers to create a exists a year ago
thanhlocpanda modified the report
a year ago
We have contacted a member of the yetiforcecompany/yetiforcecrm team and are waiting to hear back a year ago
Radosław Skrzypczak validated this vulnerability a year ago
thanhlocpanda has been awarded the disclosure bounty
The fix bounty is now up for grabs
The researcher's credibility has increased: +7
We have sent a fix follow up to the yetiforcecompany/yetiforcecrm team. We will try again in 7 days. a year ago
Radosław Skrzypczak marked this as fixed in 6.4.0 with commit 2c14ba a year ago
The fix bounty has been dropped
This vulnerability will not receive a CVE
ApiConfigModal.tpl#L18-L28 has been validated
to join this conversation