Exploit database

GH-fb4ca5b52ef19ee64e41883b499eb71c

y4sec-team/cve-2023-21939

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-21939

1 source

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.

Repository files4
y4sec-team/cve-2023-21939Revision 2b2e37b5a24b

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

src/main/java/me/n1ar4/Main.java

Java · 649 bytes
package me.n1ar4;

import javax.swing.*;

public class Main {
    private static void createAndShowGUI() {
        JFrame.setDefaultLookAndFeelDecorated(true);
        JFrame frame = new JFrame("HelloWorldSwing");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        String inputFromUser = "<html><h1>hello</h1><h2>world</h2></html>";
        JLabel label = new JLabel(inputFromUser);
        frame.getContentPane().add(label);
        frame.pack();
        frame.setVisible(true);
    }

    public static void main(String[] args) {
        javax.swing.SwingUtilities.invokeLater(Main::createAndShowGUI);
    }
}