Live threats

All CVEs / Public.js Project

CVE-2018-3731Public.js Project Public.js

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.0%
probability of exploitation in 30 days · percentile 81
Auth required
No
Published
Jun 7, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

public node module suffers from a Path Traversal vulnerability due to lack of validation of filePath, which allows a malicious user to read content of any file with known path.

Original NVD text.

What to do

  1. Apply the vendor's security update for Public.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm public < 0.1.3 0.1.3 npm install public@0.1.3

Per OSV / GitHub Advisories (GHSA-rwv8-jvff-jq28). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
public.js_projectpublic.js0.1.2

Official sources

References

Links published by the sources. Open them with care.