{"id":"CVE-2025-7870","state":"PUBLISHED","title":"Portabilis i-Diario justificativas-de-falta Endpoint doc_uploader.rb cross site scripting","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\".","publishedAt":"2025-07-20T05:32:06.300Z","updatedAt":"2026-10-09T16:38:36.888Z","severity":{"score":5.1,"label":"Medium","version":"4.0","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","source":"VulDB"},"assigner":"VulDB","products":["Portabilis i-Diario"],"affected":[{"vendor":"Portabilis","product":"i-Diario","versions":[{"version":"1.5.0","status":"affected"}],"cpes":["cpe:2.3:a:portabilis:i-diario:*:*:*:*:*:*:*:*"],"modules":["justificativas-de-falta Endpoint"]}],"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/","https://vuldb.com/?submit.607947"],"weaknesses":["CWE-79","CWE-94"],"ingestedAt":"2026-10-29T20:10:04.440Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/7xxx/CVE-2025-7870.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-7870","state":"PUBLISHED","datePublished":"2025-07-20T05:32:06.300Z","dateUpdated":"2026-10-09T16:38:36.888Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2025-07-19T05:52:56.313Z"},"containers":{"cna":{"title":"Portabilis i-Diario justificativas-de-falta Endpoint doc_uploader.rb cross site scripting","descriptions":[{"lang":"en","value":"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":[{"vendor":"Portabilis","product":"i-Diario","versions":[{"version":"1.5.0","status":"affected"}],"cpes":["cpe:2.3:a:portabilis:i-diario:*:*:*:*:*:*:*:*"],"modules":["justificativas-de-falta Endpoint"]}],"references":[{"url":"https://vuldb.com/vuln/316983","name":"VDB-316983 | Portabilis i-Diario justificativas-de-falta Endpoint doc_uploader.rb cross site scripting","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/316983/cti","name":"VDB-316983 | CTI Indicators (IOB, IOC, TTP, IOA)","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2025-7870","name":"CVE-2025-7870 | CVE Analysis and Report","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/607947","name":"Submit #607947 | Portabilis i-diario 1.5.0 Cross Site Scripting","tags":["third-party-advisory"]},{"url":"https://github.com/CVE-Hunters/CVE/blob/main/i-diario/CVE-2025-7870.md","tags":["exploit"]},{"url":"https://github.com/portabilis/i-diario/commit/6c529bb2d96130aa29533f49e204e86518e11fdd","tags":["patch"]},{"url":"https://github.com/portabilis/i-diario/","tags":["product"]}],"metrics":[{"cvssV4_0":{"version":"4.0","baseScore":5.1,"vectorString":"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","baseSeverity":"MEDIUM"}},{"cvssV3_1":{"version":"3.1","baseScore":3.5,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C","baseSeverity":"LOW"}},{"cvssV3_0":{"version":"3.0","baseScore":3.5,"vectorString":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C","baseSeverity":"LOW"}},{"cvssV2_0":{"version":"2.0","baseScore":4,"vectorString":"AV:N/AC:L/Au:S/C:N/I:P/A:N/E:POC/RL:OF/RC:C"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"Cross Site Scripting"}]},{"descriptions":[{"cweId":"CWE-94","type":"CWE","lang":"en","description":"Code Injection"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2026-10-09T16:38:36.888Z"},"timeline":[{"time":"2025-07-02T00:00:00.000Z","lang":"en","value":"Vulnerability found"},{"time":"2025-07-19T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2025-07-19T02:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2026-10-09T18:43:14.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"Natan Morette (CVE-Hunters)","type":"finder"},{"lang":"en","value":"nmmorette (VulDB User)","type":"reporter"},{"lang":"en","value":"nmmorette (VulDB User)","type":"analyst"},{"lang":"en","value":"VulDB CNA Team","type":"coordinator"}],"tags":["x_open-source"],"x_generator":["VulDB PVTS v202610"]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/CVE-Hunters/CVE/blob/main/i-diario/CVE-2025-7870.md","tags":["exploit"]},{"url":"https://vuldb.com/?submit.607947","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-07-22T13:56:35.913621Z","id":"CVE-2025-7870","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-07-22T13:56:38.818Z"}}]}}}