CVE-2026-59238 Stored XSS in Pentestify via unsanitized finding images and report client logo
Authenticated attackers can inject JavaScript via unsanitized image URLs in Pentestify reports, leading to arbitrary code execution in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-59238?
CVE-2026-59238 is a medium-severity cross-site scripting vulnerability in maalfer Pentestify, published on 20 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-79
Which versions are affected by CVE-2026-59238?
How do I fix CVE-2026-59238?
No fix has been published for CVE-2026-59238 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-59238 being exploited?
There is no known exploitation of CVE-2026-59238 in the wild and no public exploit code.
Sources
Also known as GHSA-hpcr-c79h-7cww.