CVE-2025-9721 CVE-2025-9721

CVE-2025-9721

Introduction

While exploring i-Educar system, I discovered multiples stored XSS vulnerabilities in the /module/FormulaMedia/edit endpoint. The nome and formulaMedia parameters, allows the injection of malicious scripts without any sanitization.

These scripts are stored in the database and executed automatically when the /module/FormulaMedia/index 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-9721?

The CVE-2025-9721 refers two stored Stored Cross-Site Scripting (XSS) vulnerability found in the /module/FormulaMedia/edit endpoint of the i-Educar application.

The nome and formulaMedia parameters fails to properly validate user inputs, allowing attackers to persist JavaScript payloads on the server. The malicious code is executed when the /module/FormulaMedia/index page is loaded, impacting any user who visits it.


Technical Details

» Vulnerable Endpoint: /module/FormulaMedia/edit

» Affected Parameters: nome, formulaMedia

» Trigger Page: /module/FormulaMedia/index

» Payload Used:

"><img src=x onerror=alert('CVE-Hunters')>

Proof of Concept (PoC)

To reproduce the vulnerability:

» Access the endpoint: /module/FormulaMedia/edit;

» Insert the payload in both fields: “Nome” and "Fórmula de média final";

» Scroll down and click on: “Salvar”

The /module/FormulaMedia/index page will automatically load, triggering the malicious payloads:

  • Parameter nome:
  • Parameter formulaMedia:

You can access the full technical report with all step-by-step evidence here:

CVE-2025-9721 Report


Impact

This Cross-Site Scripting (XSS) vulnerability can be exploited to:

  • Steal session cookies (session hijacking);
  • Install malware on victims’ devices;
  • Steal credentials stored in the browser;
  • Redirect users to malicious websites;
  • Deface the application interface;
  • Damage the institutional reputation.

Official Sources

This vulnerability was reported responsibly and is publicly registered as:


Credits

Discovered with💜 by Karina Gante.

LinkedInGitHubGmailInstagram

Official Member of CVE-Hunters🏹


← Back to blog