# Vulnerable DOMPurify JS Library

**URL:** <https://community.podlove.org/t/vulnerable-dompurify-js-library/3260>\
**Category:** Podlove Web Player\
**Created:** [January 22, 2024, 9:34am UTC](https://community.podlove.org/t/vulnerable-dompurify-js-library/3260 "2024-01-22T09:34:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peter.m](https://community.podlove.org/letter_avatar_proxy/v4/letter/p/f19dbf/32.png) [@peter.m](https://community.podlove.org/u/peter.m)\
**Post date:** [January 22, 2024, 9:34am UTC](https://community.podlove.org/t/vulnerable-dompurify-js-library/3260/1 "2024-01-22T09:34:43Z")

</div>

Hello, I noticed a Cross-site Scripting (XSS) – DOM weakness, as there is a vulnerable DOMPurify library used.

The identified library DOMPurify, version 2.0.12 is vulnerable and gets called in /wp-content/plugins/podlove-web-player/web-player/embed.js?ver=5.7.3

Cure53 DOMPurify before 2.0.17 allows mutation XSS. This occurs because a serialize-parse roundtrip does not necessarily return the original DOM tree, and a namespace can change from HTML to MathML, as demonstrated by nesting of FORM elements.

Can we update please to the latest version of DOMPurify **v3.0.8** in the next release?  
Thanks and kind regards!

---

<div class="post-metadata">

**Author:** ![zusatzstoff](https://community.podlove.org/user_avatar/community.podlove.org/zusatzstoff/32/1026_2.png) [@zusatzstoff](https://community.podlove.org/u/zusatzstoff)\
**Post date:** [January 24, 2024, 8:26pm UTC](https://community.podlove.org/t/vulnerable-dompurify-js-library/3260/2 "2024-01-24T20:26:21Z")

</div>

Thanks for the report. Should be updated with version 5.12.2.

---

<div class="post-metadata">

**Author:** ![peter.m](https://community.podlove.org/letter_avatar_proxy/v4/letter/p/f19dbf/32.png) [@peter.m](https://community.podlove.org/u/peter.m)\
**Post date:** [February 14, 2024, 8:52am UTC](https://community.podlove.org/t/vulnerable-dompurify-js-library/3260/3 "2024-02-14T08:52:06Z")

</div>

thank you! any idea when is 5.12.2 coming out?
