Skip to content
XSS Write-up Beginner

How I Found My First CVE - Beginner Guide

A stored cross-site scripting vulnerability existed in LogicalDOC Community Edition up to version 9.2.1, where a normal user could inject a script into contact fields. When an admin viewed the shared contact, the script executed, allowing the attacker to run code in the admin's browser.

medium.com

Published on medium.com

Before I share how I found my first CVE, let’s talk about what a CVE actually is: CVE stands for Common Vulnerabilities and Exposures. An official record for security bugs found in software used around the world.

thezeeshankhan, 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

Impact

An attacker could execute arbitrary JavaScript in an administrator's browser, potentially leading to account compromise or data theft.

What the attacker needed

A normal user account; victim (admin) opens the shared contact

How it was found

  1. Log in as a normal user.
  2. Navigate to the frontend page.
  3. Go to Account → Contacts → Add Contact.
  4. Enter a script payload into any text field.
  5. Save the contact and share it with the admin.
  6. Log in as admin and open the contact to trigger the script.

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.

This is a stored cross-site scripting (XSS) bug. A normal user could type a small script into contact details, and when an administrator later opened that contact, the script ran in the admin's browser. That could let the attacker do things as the admin, like read data or perform actions.

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.