Exploit database

GH-91766cd831e73fd286b7f783b3656967

108krishna108/dvw

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2023-39848

53 sources

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

Repository files4
108krishna108/dvwRevision 7b9477fe33a9

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

vulnerabilities/xss_d/source/medium.php

PHP · 275 bytes
<?php

// Is there any input?
if ( array_key_exists( "default", $_GET ) && !is_null ($_GET[ 'default' ]) ) {
	$default = $_GET['default'];
	
	# Do not allow script tags
	if (stripos ($default, "<script") !== false) {
		header ("location: ?default=English");
		exit;
	}
}

?>