Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

24.2.3: DOMPurify cannot be found

InoLMar 18 2025

We are currently testing the upgrade from 23.2 to 24.2.3. One IG returns this JS error and doesn't display anything:

DOMPurify cannot be found

It's coming from util.js:

    sanitizeHtml: html => {
       if ( window.DOMPurify ) {
           return window.DOMPurify.sanitize( html, {
               // extend the existing array of allowed attributes
               ADD_ATTR: [ "target" ]
           } );
       } else {
           throw new Error( "DOMPurify cannot be found." );
       }
   }

I really have no idea what this means and why this is suddenly a problem for one IG (found so far anyway).

Does anyone have any idea? (This forum is usually faster than Oracle Support :-))

This post has been answered by InoL on Mar 19 2025
Jump to Answer
Comments
Post Details
Added on Mar 18 2025
4 comments
188 views