---
id: CVE-2025-7870
title: A vulnerability was identified in Portabilis i-Diario 1.5.0
summary: >-
  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…
severity: low
cvss: 3.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N'
cwe:
  - CWE-79
  - CWE-94
vendor: portabilis
product: i-diario
affected:
  - i-diario = 1.5.0
published: '2025-07-20'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T17:16:42.343'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-7870'
references:
  - url: 'https://github.com/CVE-Hunters/CVE/blob/main/i-diario/CVE-2025-7870.md'
    label: cna@vuldb.com
  - url: 'https://github.com/portabilis/i-diario/'
    label: cna@vuldb.com
  - url: >-
      https://github.com/portabilis/i-diario/commit/6c529bb2d96130aa29533f49e204e86518e11fdd
    label: cna@vuldb.com
  - url: 'https://vuldb.com/cve/CVE-2025-7870'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/submit/607947'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/316983'
    label: cna@vuldb.com
  - url: 'https://vuldb.com/vuln/316983/cti'
    label: cna@vuldb.com
  - url: 'https://github.com/CVE-Hunters/CVE/blob/main/i-diario/CVE-2025-7870.md'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://vuldb.com/?submit.607947'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.0029
epssPercentile: 0.19813
ingestedAt: '2026-10-09T18:07:39.402Z'
---

## Overview

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

## Affected

- `i-diario = 1.5.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
