mkdir wordpress-cve-2025-9519
cd wordpress-cve-2025-9519Start Docker Desktop and run the command.
docker-compose up -d --buildAccess http://localhost:8080 in your browser and complete the WordPress installation:
-
Site Title:
David Private Academy(Arbitrary) -
Username:
admin(or any) -
Password:
JGTpMWZk9%gqUgmRnE(Strong password) -
Email Address:
admin@example.com(Arbitrary) -
Go to "Users" -> "Add New"
-
Username:
Mike -
Email:
mike@example.com -
Password:
test123 -
Role:
Editor
Log into WordPress Admin Console via web browser and activate the necessary plugin.
- Likes and Dislikes Plugin
- EasyTimer Plugin
- User Role Plugin
In the User Role Editor page, check "manage_options" in the "Core-General" tab. This gives editors to use shortcode function.
$dbContainerId = docker-compose ps -q db
docker cp "${dbContainerId}:/tmp/dump.sql" ./init.sql
# stop the docker container
docker-compose down
# Rename the sql file
mv init_tmp.sql init.sqldocker-compose down -vdocker-compose up -d --build