Open Nisto opened 1 year ago
I believe javascript: URLs ought to be filtered. URL tags currently allows embedding malicious inline scripts:
javascript:
$bbcode = new ChrisKonnertz\BBCode\BBCode(); echo $bbcode->render("[url=javascript:alert('hacked')]malicious link[/url]");
tbh i plan to make a pull to fix it
im a few months late on this but if anyone cares to do it just make it allow specific urls or disallow (like a whitelist or blacklist)
I believe
javascript:
URLs ought to be filtered. URL tags currently allows embedding malicious inline scripts: