LiveActive security incident?Get immediate response
CVE Record

CVE-2022-43984: Browsershot 3.57.3 - Server Side XSS to LFR via HTML

Browsershot version 3.57.3 allows an external attacker to remotely obtain arbitrary local files. This is possible because the application does not validate that the JS content imported from an external source passed to the Browsershot::html method does not contain URLs that use the file:// protocol.

HighCVSS 8.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2022-43984 affects Browsershot 3.57.3. If attacker-controlled HTML or imported JavaScript reaches Browsershot::html, the server-side browser may read local files through file:// URLs. The main business risk is exposure of sensitive files from systems running affected rendering workflows.

Executive priority

Treat this as a high-priority exposure review for services that render customer or external HTML into screenshots or PDFs. Prioritize systems where rendering workers can access secrets, configuration files, or tenant data. Do not assume active exploitation from the supplied evidence.

Technical view

The issue is described as server-side XSS leading to local file read. Browsershot::html did not validate externally imported JavaScript content for file:// URLs, allowing arbitrary local file disclosure. The CVSS 3.1 score is 8.2 with network attack vector, low complexity, no privileges, required user interaction, changed scope, high confidentiality impact, and low integrity impact.

Likely exposure

Exposure is likely limited to applications using spatie/browsershot version 3.57.3 where untrusted or externally influenced HTML or JavaScript is rendered through Browsershot::html. The source bundle lists Browsershot as affected and does not identify other products.

Exploitation context

The CVE is not listed in KEV, and the provided sources do not state active exploitation. The advisory describes remote file disclosure potential, but the CVSS vector includes required user interaction. Evidence is insufficient to claim exploitation in the wild.

Researcher notes

The affected version evidence is specific to Browsershot 3.57.3. The provided bundle does not name a patched version, exploit availability, or broad ecosystem impact. Validation should focus on actual use of Browsershot::html and whether attacker-controlled imports can influence rendered content.

Mitigation direction

  • Inventory applications using spatie/browsershot and confirm whether version 3.57.3 is present.
  • Check Spatie and advisory guidance for fixed versions or vendor-recommended remediation.
  • Avoid processing untrusted HTML or externally controlled JavaScript through Browsershot::html.
  • Restrict rendering workers from accessing sensitive local files where operationally possible.
  • Review logs and data flows for suspicious rendering of externally sourced HTML.

Validation and detection

  • Search dependency manifests and lockfiles for spatie/browsershot version 3.57.3.
  • Identify application paths that call Browsershot::html with user-controlled or external content.
  • Confirm rendering workers have limited file-system access and no unnecessary secrets.
  • Review vendor repository or advisory notes for remediation status before closing findings.
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-43984 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-43984Attack 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.3unaffected
Weakness

CWE details

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