Portabilis i-Diario Cross-Site Scripting Vulnerability in Search Autocomplete Endpoint

Vulnerability

A reflected cross-site scripting (XSS) vulnerability exists in Portabilis i-Diario versions through 1.5.0. The issue is located in the '/alunos/search_autocomplete' endpoint, where the 'q' parameter is not properly validated or sanitized. This oversight allows for the injection of malicious scripts, which are executed in the context of the user's browser. The vulnerability can be exploited remotely, without authentication, but requires user interaction.

Impact

Exploitation of this vulnerability allows for reflected cross-site scripting, where injected scripts are executed in the context of the user's browser. This can lead to various consequences, such as stealing cookies, manipulating account information, or executing malicious code on the user's device.

Reproduction

To reproduce this vulnerability, send a request to the '/alunos/search_autocomplete' endpoint with a payload in the 'q' parameter that includes a script tag. The injected script will be executed in the browser, demonstrating the cross-site scripting vulnerability.

Added: Aug 18, 2025, 5:17 AM
Updated: Aug 18, 2025, 6:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.7
remediation
0.0
relevance
0.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.