CVE-2025-7870 Portabilis i-Diario justificativas-de-falta Endpoint doc_uploader.rb cross site scripting
Remote attackers can inject malicious scripts via file uploads in the justificativas-de-falta endpoint, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-7870?
CVE-2025-7870 is a medium-severity cross-site scripting vulnerability in Portabilis i-Diario, published on 20 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A vulnerability was identified in Portabilis i-Diario 1.5.0. The affected element is an unknown function of the file app/uploaders/doc_uploader.rb of the component justificativas-de-falta Endpoint. Such manipulation of the argument Anexo leads to cross site scripting. The attack can be launched remotely. The exploit is publicly available and might be used. The name of the patch is 6c529bb2d96130aa29533f49e204e86518e11fdd. It is best practice to apply a patch to resolve this issue. The vendor confirms: "The attachment uploader now rejects files whose declared content type indicates executable or markup content".
Which versions are affected by CVE-2025-7870?
It affects 1 product.
Products include Portabilis I-Diario.
How do I fix CVE-2025-7870?
No fix has been published for CVE-2025-7870 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-7870 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7870 exists.
Other vulnerabilities in Portabilis i-Diario
- CVE-2025-9109 Portabilis i-Diario Password Recovery Endpoint email observable response discrepancy
- CVE-2025-9107 Portabilis i-Diario search_autocomplete cross site scripting
- CVE-2025-9104 Portabilis i-Diario Informações Adicionais /planos-de-aulas-por-disciplina cross site scripting
- CVE-2025-9105 Portabilis i-Diario Informações Adicionais /planos-de-ensino-por-areas-de-conhecimento cross site scripting
- CVE-2025-9106 Portabilis i-Diario Informações Adicionais /planos-de-ensino-por-disciplina cross site scripting
Sources
Also known as GHSA-mmc6-r5xm-56vx.