{"id":30538500,"url":"https://github.com/lucianoscarpaci/project-wp-vs-kali","last_synced_at":"2026-02-11T13:31:40.080Z","repository":{"id":304141321,"uuid":"610534065","full_name":"lucianoscarpaci/project-wp-vs-kali","owner":"lucianoscarpaci","description":"🐉 Experience a detailed showcase of exploit discovery, analysis, reproduction, and documentation of five XSS vulnerabilities impacting an outdated WordPress version. 🔍💻📄","archived":false,"fork":false,"pushed_at":"2023-03-07T06:14:49.000Z","size":2373,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-25T08:38:37.259Z","etag":null,"topics":["ethical-hacking","exploit-exercises","exploit-research","outdated","penetration-testing","security-assessments","security-best-practices","threat-modeling","web-application-security","wordpress-security","xss-vulnerability"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lucianoscarpaci.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-03-07T00:50:28.000Z","updated_at":"2025-09-18T15:53:38.000Z","dependencies_parsed_at":"2025-07-11T12:30:49.339Z","dependency_job_id":"52bd375a-00bf-4247-ad3e-a604fbfa7e4e","html_url":"https://github.com/lucianoscarpaci/project-wp-vs-kali","commit_stats":null,"previous_names":["lucianoscarpaci/project-wp-vs-kali"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lucianoscarpaci/project-wp-vs-kali","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianoscarpaci%2Fproject-wp-vs-kali","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianoscarpaci%2Fproject-wp-vs-kali/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianoscarpaci%2Fproject-wp-vs-kali/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianoscarpaci%2Fproject-wp-vs-kali/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lucianoscarpaci","download_url":"https://codeload.github.com/lucianoscarpaci/project-wp-vs-kali/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lucianoscarpaci%2Fproject-wp-vs-kali/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29333490,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T12:42:24.625Z","status":"ssl_error","status_checked_at":"2026-02-11T12:41:23.344Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ethical-hacking","exploit-exercises","exploit-research","outdated","penetration-testing","security-assessments","security-best-practices","threat-modeling","web-application-security","wordpress-security","xss-vulnerability"],"created_at":"2025-08-27T20:56:12.072Z","updated_at":"2026-02-11T13:31:40.075Z","avatar_url":"https://github.com/lucianoscarpaci.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project 7 - WordPress Pen Testing\n\nTime spent: **5** hours spent in total\n\n\u003e Objective: Find, analyze, recreate, and document **five vulnerabilities** affecting an old version of WordPress\n\n## Pen Testing Report\n\n### 1. (Required) Authenticated Stored Cross-Site Scripting (XSS)\n\n- [X] Summary: \n  - Vulnerability types: XSS\n  - Tested in version: 4.2.2\n  - Fixed in version: 4.3.2\n- [X] GIF Walkthrough: ![](exploit1.gif)\n- [X] Steps to recreate: Become administrator aka \"hacker\" account, then use the exploit by inserting this malicious script into the post: ```\u003ca href=\"[caption code=\"\u003e]\u003c/a\u003e\u003ca title=\" onmouseover=alert('Pwned!')  \"\u003elink\u003c/a\u003e```\n- [X] Affected source code:\n  - [Link 1](https://klikki.fi/wordpress-core-stored-xss)\n  \n### 2. (Required) XSS vulnerability in Page's Edit-page\n\n- [X] Summary: \n  - Vulnerability types: XSS\n  - Tested in version: 4.2.2\n  - Fixed in version: 4.7.1\n- [X] GIF Walkthrough: ![](exploit2.gif)\n- [X] Steps to recreate: Go to the post title and paste this code ``` \u003cimg src=\"#\" ONERROR=\"alert('Hacked!')\"/\u003e ```\n- [] Affected source code: \n\n\n### 3. (Required) XSS vulnerability in comment section using SVG onload\n\n- [X] Summary: \n  - Vulnerability types: XSS\n  - Tested in version: 4.2.2\n  - Fixed in version: 4.7.0\n- [X] GIF Walkthrough: ![](exploit3.gif)\n- [X] Steps to recreate: comment on a post this code: ```\u003csvg/onload=alert('Hacked!')\u003e```\n- [] Affected source code: \n\n\n## Resources\n\n- [WordPress Source Browser](https://core.trac.wordpress.org/browser/)\n- [WordPress Developer Reference](https://developer.wordpress.org/reference/)\n\n## Notes\n\nWhen i was attempting to exploit the wordpress vulnerabilities, I found that the\nexploits were similar to ones found online. However, there were some differences\nin my own implementation compared to those found online. My implementation is original because i have tried attempting this many times.\n\n## License\n\n    Copyright [2023] [Luciano Scarpaci]\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucianoscarpaci%2Fproject-wp-vs-kali","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucianoscarpaci%2Fproject-wp-vs-kali","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucianoscarpaci%2Fproject-wp-vs-kali/lists"}