Burp Suite User Forum

Login to post

Burp Suit Professional 2022.3.1 is not supporting HTML tag

Aditi | Last updated: Apr 11, 2022 11:43AM UTC

Hi team, We have one extension in which we have used HTML tags at different places to add color, font and other html features. Our extension was working fine with Burp Suite 2022.2.4 but after we upgraded to the newer versions (2022.3.1, 2022.3.2, 2022.3.3) Our extension has started showing HTML as text. That means newer versions of Burp isn't supporting HTML. Our extension is working well with standalone java and older/stable version of Burp Suite but not properly with newer versions. This is just a part of code snippet where we have used HTML DefaultMutableTreeNode topLevelNode = new DefaultMutableTreeNode("<html><font color=\"red\">"+BurpExtender.selectedComponentName +"</font></html>"); topLevelNode.setUserObject("<html><font color=\"red\">"+BurpExtender.selectedComponentName +"</font></html>"); Expected output:- Change Password(in red color) Actual output coming with newer versions (2022.3.1, 2022.3.2, 2022.3.3 <html><font color="red">Change Password</font></html>" Kindly provide HTML support in latest versions of Burp Suite.

Hannah, PortSwigger Agent | Last updated: Apr 11, 2022 12:48PM UTC

Hi

HTML rendering in Swing components has been disabled as a security measure in version 2022.3 and above.

If you'd like to enable it on specific components, you will need to add the following to your code:
<SwingComponentHere>.putClientProperty("html.disable", null);

Please let us know if you need any further assistance.

You need to Log in to post a reply. Or register here, for free.