CVE-2022-25760

CRITICALCVSS 9.8/10EPSS 1.61%

Last modified

CVE-2022-25760 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. All versions of package accesslog are vulnerable to Arbitrary Code Injection due to the usage of the Function constructor without input sanitization. If (attacker-controlled) user input is given to the format option of the package's exported constructor function, it is possible for an attacker to execute arbitrary JavaScript code on the host that this package is being run on.. EPSS estimates a 1.61% chance of exploitation in the next 30 days.

Description

All versions of package accesslog are vulnerable to Arbitrary Code Injection due to the usage of the Function constructor without input sanitization. If (attacker-controlled) user input is given to the format option of the package's exported constructor function, it is possible for an attacker to execute arbitrary JavaScript code on the host that this package is being run on.

Metrics

CVSS 3.1
9.8/10

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

EPSS Probability
1.61%

72.9th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Accesslog ProjectAccesslogAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-25760?
All versions of package accesslog are vulnerable to Arbitrary Code Injection due to the usage of the Function constructor without input sanitization. If (attacker-controlled) user input is given to the format option of the package's exported constructor function, it is possible for an attacker to execute arbitrary JavaScript code on the host that this package is being run on.
How severe is CVE-2022-25760?
CVE-2022-25760 has a CVSS score of 9.8/10 (CRITICAL severity). The EPSS model estimates a 1.61% probability of exploitation in the next 30 days.
How do I fix CVE-2022-25760?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-25760?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST