Skip to main content

Playwright Capture CVE-2026-44439

MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-06 https://github.com/Lookyloo/PlaywrightCapture GHSA-687h-xw6f-q2qw
6.6
CVSS 4.0 · Vendor: https://github.com/Lookyloo/PlaywrightCapture
View

Attack ChainAIDerived

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

  1. Recon
    Submit attacker-controlled URL to capture API
  2. Delivery
    Playwright loads HTML page in browser
  3. Exploit
    Page JavaScript redirects to file:// or 127.0.0.1
  4. Install
    Browser follows redirect
  5. C2
    Internal resource/file fetched
  6. Execute
    Response embedded in screenshot or log
  7. Impact
    Capture output leaked via API response or artifact storage

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability requires that the Playwright Capture instance be configured to process attacker-controlled or user-supplied URLs without prior validation. Exploitation is not restricted by default configurations-the default only_global_lookup=True parameter in version 1.39.6+ prevents exploitation, but pre-1.39.6 versions have no such protection. The attacker must be able to submit a URL to the capture process (e.g., via an API endpoint, form submission, or task queue), and the page at that URL must be capable of executing JavaScript redirects (which is true for all modern HTML pages). No special browser extensions, authentication credentials, or non-standard network access is required. The attacker's JavaScript need only reference file:// URLs or private IP addresses; the Playwright browser engine will attempt to load them. Exploitation succeeds if capture artifacts (screenshots, saved HTML, logs) are subsequently accessed by the attacker or are exposed through information disclosure.

Impact

This vulnerability presents significant real-world risk in deployments that process untrusted URLs. Although CVSS vector data is unavailable, the attack vector is clearly network-based (AV:N) with likely no authentication requirements (PR:N), low complexity (AC:L), and user interaction not needed (UI:N), suggesting a base CVSS in the 7-8 range. The underlying SSRF pattern (CWE-918) is well-established and reliably exploitable. The vulnerability impacts confidentiality (file access, internal service responses) and potentially availability (if internal service interactions trigger denial-of-service). No public exploit code or active exploitation has been confirmed at time of analysis, but the attack is straightforward: craft an HTML page with JavaScript redirects to file:// or internal IPs and submit it as a capture URL. Deployments using the default configuration (only_global_lookup=True) are protected by the patched version, but legacy installations running pre-1.39.6 versions remain vulnerable. Organizations processing user-supplied URLs for archival or compliance purposes face the highest risk. The absence of EPSS and KEV data suggests this is not yet widely weaponized, but the attack primitives are trivial.

Exploit ScenarioDerived

An attacker submits a crafted HTML page containing JavaScript that redirects the browser via window.location.href to http://localhost:8080/admin or file:///etc/passwd for capture. The vulnerable Playwright Capture instance follows the redirect, retrieves the response from the internal service or file, and embeds it in the resulting screenshot or saved page HTML. If capture logs or outputs are accessible via a web interface or email, the attacker can exfiltrate internal service banners, configuration details, or local file contents.

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

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

Alert me

AnalysisAIv1 – May 07, 2026

Server-side request forgery in Playwright Capture before version 1.39.6 allows remote attackers to access local files and internal network resources through browser-side redirection mechanisms when processing untrusted URLs. An attacker-controlled page can abuse window.location.href and similar navigation primitives to redirect the capture process to file:// URLs or private IP addresses, potentially leaking responses through screenshots, saved content, or logs. The vulnerability is mitigated by request routing checks introduced in version 1.39.6 that block secondary requests to local files, non-global IP addresses, and .local domains.

RemediationAI

Upgrade Playwright Capture to version 1.39.6 or later, which includes request routing checks that block secondary requests to local files and non-public IP addresses. The patched version is available from the official PyPI repository and can be installed via pip install --upgrade playwrightcapture==1.39.6 or later. For deployments unable to upgrade immediately, explicitly set only_global_lookup=True when instantiating the Capture class (this is the default in 1.39.6+), and restrict the URLs submitted for capture to a whitelist of trusted domains. Additionally, review capture artifact handling: disable or restrict logging of HTTP responses and headers, limit access to screenshots and saved page content, and ensure capture outputs are not served to untrusted users without sanitization. If legacy versions must remain in place, implement network-level controls such as blocking outbound requests from the capture process to private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.0/8) and disable file:// protocol support at the system level via AppArmor or SELinux policies. These mitigations reduce but do not eliminate risk; upgrading is strongly recommended.

Affected Packages

pypi playwrightcapture fix: 1.39.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Playwright Capture is a Python-based web page capture tool built on the Playwright browser automation framework (CPE: pkg:pip/playwrightcapture). The vulnerability stems from insufficient validation of secondary navigations and resource requests initiated by rendered pages. Playwright's request interception and routing mechanisms do not by default restrict where rendered JavaScript code can redirect the browser. The vulnerability exploits CWE-918 (Server-Side Request Forgery), where attacker-controlled page content manipulates the capture environment into making unwanted requests. The patch implements route handlers that intercept all requests and validate IP addresses (using Python's ipaddress library), hostnames (using pyfaup for URL parsing), and request origins. The fix introduces an only_global_lookup parameter (default True) that enables filtering of file:// schemes and non-global IP addresses (127.0.0.0/8, 10.0.0.0/8, 172.16.0.0/12, 169.254.0.0/16, etc.) while allowing the originally requested URL to proceed unimpeded.

Know when the next one hits your stack

  • 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 (https://github.com/Lookyloo/PlaywrightCapture) PRIMARY 6.6 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U

Primary rating from Vendor (https://github.com/Lookyloo/PlaywrightCapture) · only source for this CVE.

CVSS VectorVendor: https://github.com/Lookyloo/PlaywrightCapture

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

Lifecycle Timeline

2
CVSS changed
May 13, 2026 - 22:22 NVD
6.6 (MEDIUM)
CVE Published
May 06, 2026 - 23:43 nvd
MEDIUM

DescriptionCVE.org

Playwright Capture did not sufficiently restrict navigations and resource requests initiated by rendered pages. An attacker-controlled page could abuse browser-side redirection mechanisms, such as window.location.href, to make the capture process open file:// URLs or request resources hosted on private, loopback, link-local, or otherwise non-public IP addresses. In deployments where PlaywrightCapture processes untrusted URLs, this could allow a remote attacker to perform server-side request forgery against internal services or attempt to access local files from the capture environment. Depending on what capture artifacts are generated and exposed, responses from those resources could potentially be leaked through screenshots, saved page content, logs, or other capture outputs. The patch mitigates the issue by introducing request routing checks that block secondary requests to local files, non-global IP addresses, and .local domains when only_global_lookup is enabled, while still allowing the originally requested capture URL.

Threat Intelligence Overview

EPSS Score
0.1%
Top 68% exploitable
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS GHSA GitHub VulDB

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.1%
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· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

pkg:pip/playwrightcapture

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