VDB
Sign up
MEDIUM6.1

GHSA-8hgg-xxm5-3873

DOMPurify Open Redirect vulnerability

Quick fix

GHSA-8hgg-xxm5-3873 — dompurify: upgrade to the fixed version with the command below.

npm install dompurify@1.0.11

Details

DOMPurify before 1.0.11 allows reverse tabnabbing in demos/hooks-target-blank-demo.html because links lack a 'rel="noopener noreferrer"' attribute.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/dompurify
Introduced in: 0Fixed in: 1.0.11
Fixnpm install dompurify@1.0.11

References