Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Pentestify instance
-
DeliveryInject XSS payload into finding images or report client_logo array
-
ExploitPayload persists in database
-
ExecutionVictim opens affected report in browser
-
PersistUnsanitized value interpolated into img src by render function
-
ImpactArbitrary JavaScript executes in victim's authenticated session
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 | The attacker must hold a valid authenticated account within the Pentestify instance with permission to create or modify findings (images array) or reports (client_logo array) - unauthenticated exploitation is not possible. A second user (the victim) must subsequently open and render the affected report in their browser; exploitation does not occur server-side. No special non-default configuration is required: any standard Pentestify 1.0.0 deployment is vulnerable as long as the attacker can submit data and the victim can view reports. Exploitation is limited by: (1) the requirement for attacker authentication, (2) the need for a victim to navigate to the infected report, and (3) the narrow deployment context of a team-internal pentesting tool where accounts are typically controlled. |
| Impact | The provided CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N) conflicts materially with the CVE description, which states the attacker must be authenticated and that execution occurs when another user views the report - both PR:N and UI:N are inconsistent with these conditions. This discrepancy should be verified with the vendor or NVD before using the supplied score for prioritization. Assessed independently: exploitation requires at minimum a low-privileged authenticated account (e.g., an analyst who can submit findings) and passive user interaction from the victim (opening a report), which reduces realistic risk compared to a fully unauthenticated, zero-interaction flaw. There is no EPSS score available in the provided data and no CISA KEV listing, meaning there is no intelligence signal of active or opportunistic exploitation. Real-world risk is further bounded by Pentestify's narrow deployment footprint - it is a niche tool used by small penetration testing teams - limiting the population of both attackers with valid credentials and potential victims. The stored nature of the payload is the most dangerous characteristic: a single injection in a widely-shared report template could silently harvest session tokens from every team member who reviews it. |
| Exploit ScenarioDerived | An authenticated attacker with access to submit or edit a penetration testing finding sets the images field to a crafted value such as |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 20, 2026
Stored cross-site scripting in maalfer Pentestify before 1.1.0 allows an authenticated attacker to inject arbitrary JavaScript that executes in the browser of every user who views an affected report. The payload is stored in a finding's images array or a report's client_logo array and interpolated directly into HTML img src attributes by the client-side rendering functions renderPreview, renderEditor, and renderAuditData in js/app.js without HTML escaping. No public exploit has been identified and this vulnerability is not listed in CISA KEV; however, the stored nature means a single injection persists and fires for all future viewers of the affected report until the application is patched.
RemediationAI
Upgrade to Pentestify 1.1.0, which is the vendor-confirmed fix version per commit a058a22b42c6311895622645265df79a60265b1d at https://github.com/maalfer/pentestify/commit/a058a22b42c6311895622645265df79a60265b1d. The fix hardens both the storage layer (backend Pydantic validators now reject any image value that is not a valid base64 data URI) and the rendering layer (escapeHTML() is applied to all img src interpolations in js/app.js). Notably, the import_database endpoint also received a post-import sanitization pass, meaning databases imported from pre-1.1.0 instances will be cleaned on import. If immediate upgrade is not possible, a compensating control is to restrict write access to findings and reports to only fully trusted, internally vetted accounts, since the attacker must be authenticated to store the payload - this reduces but does not eliminate the attack surface and introduces an operational trade-off by limiting collaborative reporting workflows. Reviewing all existing findings and reports for suspicious non-data-URI strings in the images and client_logo columns prior to upgrade is also advisable.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Pentestify (CPE: cpe:2.3:a:maalfer:pentestify:*:*:*:*:*:*:*:*) is a web-based penetration testing report management tool built on a Python/FastAPI backend and a JavaScript frontend. The vulnerability is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically the stored variant, where attacker-controlled strings are persisted to a database and later rendered without sanitization. The root cause is dual: the backend schemas.py accepted arbitrary string values in the images and client_logo JSON array columns without allowlisting, and the frontend js/app.js used ES6 template literals to interpolate those values directly into img src attributes - for example, the literal string <img src="${img}"> - with no call to escapeHTML() or equivalent. The fix (commit a058a22) addresses both layers: schemas.py now enforces a strict data URL regex (^data:image/[a-zA-Z0-9.+-]+;base64,[A-Za-z0-9+/=\s]+$) via Pydantic field validators, the import path in main.py runs a post-import sanitization pass over existing database rows, and the three render functions in js/app.js now wrap each interpolated value in escapeHTML().
Know when Pentestify 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:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Storing the payload requires authenticated access (PR:L), a victim must open the report (UI:R), and XSS executes in the victim's browser context outside the application's security domain (S:C).
Primary rating from Vendor (Secur0).
CVSS VectorVendor: Secur0
DescriptionCVE.org
Stored Cross-site Scripting (CWE-79) in the client-side report rendering functions (renderPreview, renderEditor, renderAuditData in js/app.js) in maalfer Pentestify before 1.1.0 allows a remote, authenticated attacker to execute arbitrary JavaScript in the browser of any user who views an affected report via a payload stored in a finding's images array or a report's client_logo array, which is interpolated into an <img> src attribute without escaping.
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.
More in Pentestify
View allServer-Side Request Forgery in Pentestify's PDF export pipeline allows authenticated users to induce the server-side hea
Stored cross-site scripting in the Markdown renderer of maalfer Pentestify before v2.3.2 allows authenticated users to i
Stored XSS in Pentestify's user management component (all versions before 1.1.1) enables an authenticated attacker to ex
Stored cross-site scripting in Pentestify's finding renderer allows any authenticated user with finding-creation privile
CSS sanitizer bypass in maalfer Pentestify 1.2.0-2.3.2 allows an authenticated low-privilege user to inject CSS that vic
EUVD-2026-45947
GHSA-hpcr-c79h-7cww
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB