#VU60182 Improper validation of integrity check value in jspdf


Published: 2022-01-31

Vulnerability identifier: #VU60182

Vulnerability risk: Low

CVSSv3.1: 3.7 [CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: N/A

CWE-ID: CWE-354

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
jspdf
Web applications / Modules and components for CMS

Vendor: Jelle_S

Description

The vulnerability allows a remote attacker to perform spoofing attack.

The vulnerability exists due to missing integrity check when loading the pdfobject lib from CDN in calls to output('pdfobjectnewwindow'). A remote attacker who is able to compromise CDN or perform MitM attack can inject arbitrary JS code and execute it victim's browser.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

jspdf: 2.0.0 - 2.5.0


External links
http://github.com/MrRio/jsPDF/releases/tag/v2.5.1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability