Skip to content
XSS Write-up Beginner

How I Discovered a CVE by Scanning Open Source Repositories

A cross-site scripting vulnerability existed in the search functionality and course tags of the Frappe LMS. An attacker could exploit this to execute malicious scripts in a victim's browser.

infosecwriteups.com

Published on infosecwriteups.com

In this write-up, I share my journey of uncovering a Cross-Site Scripting (XSS) Vulnerability within the search functionality and course tags of the open-source CMS/LMS known as Frappe. This ended up in me earning/discovering a CVE (2023–5555).

Scott Lindh, on infosecwriteups.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, user input in the search and course tag features was not properly sanitised before being displayed.

Impact

An attacker could execute scripts in a victim's browser, potentially stealing data or performing actions as the victim.

What the attacker needed

Victim clicks a crafted link

The fix

The maintainers acknowledged the issue and implemented a patch.

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 sneak harmful code into pages other people view. Here, the search box and course tags did not properly clean what users typed, so a crafted link could run code in a victim's browser.

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.