Skip to content
XSS Write-up Beginner

How I Found My First CVE – A Beginner’s Guide

The author found a cross-site scripting vulnerability in a WordPress plugin called Profile Builder while testing it. An attacker could inject malicious scripts that execute in a victim's browser, potentially stealing cookies or redirecting users.

medium.com

Published on medium.com

Finding your first CVE (Common Vulnerabilities and Exposures) is a great achievement for any cybersecurity enthusiast. Today, I will share an easy way to find CVEs based on my own experience.

Abhinav Porwal, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the plugin failed to properly sanitise or escape user-supplied input before including it in a page, allowing script injection.

Impact

An attacker could inject malicious scripts that execute in a victim's browser, potentially stealing cookies and session tokens, defacing pages, or redirecting users to malicious sites.

What the attacker needed

A WordPress site using the vulnerable plugin; victim visits a crafted page or link

How it was found

  1. Choose a target for testing, such as a WordPress plugin.
  2. Select a plugin with many features to increase the attack surface.
  3. Test the plugin for common vulnerabilities including XSS, SQL injection, authentication bypass and privilege escalation.
  4. Confirm the XSS bug and document it with a proof of concept.
  5. Report the vulnerability to the WPScan team, who reviewed and confirmed it.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is a flaw where a website lets an attacker slip their own JavaScript code into a page that other people view. When a victim loads that page, the code runs in their browser as if the site itself had written it, so it can read their session or act on their behalf.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.