LiveActive security incident?Get immediate response
CVE Record

CVE-2022-41706: Browsershot 3.57.2 - Server Side XSS to LFR via URL

Browsershot version 3.57.2 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate the URL protocol passed to the Browsershot::url method.

HighCVSS 8.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Browsershot 3.57.2 can be abused when an application passes attacker-influenced URLs into screenshot generation. Because the URL protocol is not validated, an external attacker may obtain arbitrary local files from the server. Treat this as high priority for any service that renders user-supplied or third-party URLs.

Executive priority

Prioritize remediation for internet-facing services or customer workflows that generate screenshots from submitted URLs. The main business risk is server-side disclosure of sensitive local files, not service outage.

Technical view

CVE-2022-41706 affects the spatie/browsershot package, specifically version 3.57.2. The reported flaw is missing URL protocol validation in Browsershot::url, enabling server-side XSS leading to local file read. CVSS 3.1 is 8.2 with network attack vector, low complexity, no privileges, and required user interaction.

Likely exposure

Exposure is likely where Browsershot 3.57.2 is deployed and accepts user-controlled, partner-controlled, or externally supplied URLs for screenshot or PDF workflows.

Exploitation context

The bundle does not indicate CISA KEV listing or confirmed active exploitation. Public references describe remote arbitrary local file access, but evidence here is limited to the CVE data and advisory references.

Researcher notes

The source bundle identifies CWE-79 and local file read via unvalidated URL protocol. Scope is limited to Browsershot 3.57.2; no broader affected version range, exploit-in-the-wild status, or definitive patch version is provided here.

Mitigation direction

  • Inventory deployments for spatie/browsershot version 3.57.2.
  • Check Spatie Browsershot and Fluid Attacks guidance for fixed versions or vendor-recommended remediation.
  • Block non-HTTP and non-HTTPS URL schemes before calling Browsershot::url.
  • Avoid processing untrusted URLs until validation and dependency remediation are complete.
  • Review screenshot/PDF workflows for attacker-controlled URL input.

Validation and detection

  • Review composer.lock and deployment artifacts for spatie/browsershot 3.57.2.
  • Trace every Browsershot::url call for user-controlled or externally supplied input.
  • Confirm URL scheme allowlisting occurs before Browsershot receives the URL.
  • Verify production versions no longer include the affected release after remediation.
  • Review relevant application logs for suspicious screenshot requests or local path references.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2022-41706 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.2 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.2CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N2.84.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.2High
CVSS 3.1 vector shape for CVE-2022-41706Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/aBrowsershotspatie/browsershot, 3.57.2unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.