8/6/2025/3 minutes to read/Tags: CVEs, XSS, i-Educar
Introduction
While exploring i-Educar system, I discovered a stored XSS vulnerability in the /intranet/public_uf_cad.php endpoint. The nome parameter, allows the injection of malicious scripts without any sanitization.
These scripts are stored in the database and executed automatically when the corresponding listing page is accessed.
In this post, I’ll walk you through the technical details, how the vulnerability was exploited (PoC), screenshots with real evidence, and the security risks it represents in real-world environments.
What is CVE-2025-8541?
The CVE-2025-8541 is a Stored Cross-Site Scripting (XSS) vulnerability found in the /intranet/public_uf_cad.php endpoint of the i-Educar application.
The nome parameter fails to properly validate user inputs, allowing attackers to persist JavaScript payloads on the server. The malicious code is executed when the /intranet/public_uf_lst.php page is loaded, impacting any user who visits it.
Technical Details
» Vulnerable Endpoint:/intranet/public_uf_cad.php
» Affected Parameter:nome
» Trigger Page:/intranet/public_uf_lst.php
» Payload Used:
<imgsrc=xonerror=alert(1)>
Proof of Concept (PoC)
To reproduce the vulnerability:
» Access the endpoint:/intranet/public_uf_cad.php;
» Select:“Brasil” in the first field;
» Choose any option in the field:“Sigla Uf”;
» Insert the payload in the:“Nome” field;
» Click on:“Salvar”
The /intranet/public_uf_lst.php page will automatically load, triggering the malicious payload:
You can access the full technical report with all step-by-step evidence here: