Intel

AIKIDO-2024-10104

ngx-extended-pdf-viewer is vulnerable to Eval Injection

Eval InjectionCVE-2024-4367 Published May 27, 2024

75

High Risk

This Affects:

JSngx-extended-pdf-viewer
0.0.1 - 20.0.2
Fixed in 20.1.0
Are you affected? Scan for Free

TL;DR

Affected versions of the package are vulnerable to eval injection. If pdf.js is used to load a malicious PDF and PDF.js is configured with isEvalSupported set to true (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

ngx-extended-pdf-viewer is vulnerable to Eval Injection in versions 0.0.1 - 20.0.2.

How to fix this

Upgrade the ngx-extended-pdf-viewer library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform