Skip to content
XSS Advisory Beginner CVE-2022-26842

WWBN AVideo charts tab selection cross-site scripting (XSS) vulnerability

The charts page in AVideo placed the value of the jump GET parameter directly into a JavaScript click call without sanitising it. An attacker could craft a link that, when opened by a logged-in user, runs arbitrary JavaScript in that user's session, potentially leading to account takeover.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

Critical 9.6 View original

A reflected cross-site scripting (xss) vulnerability exists in the charts tab selection functionality of WWBN AVideo 11.6 and dev master commit 3f7c0364. A specially-crafted HTTP request can lead to arbitrary Javascript execution.

Claudio Bozzato, on Cisco Talos

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 report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The application echoed the unsanitised jump GET parameter into a JavaScript selector inside a script block, allowing an attacker to break out of the string context and inject code.

Impact

An attacker could execute arbitrary JavaScript in a victim's session and, in the worst case, take over an administrator account, though the victim must be logged in and tricked into opening the link.

What the attacker needed

Victim is logged in; victim clicks a crafted link

The fix

The vendor confirms the issue was fixed on 7 July 2022.

How it was found

  1. Log in to the AVideo application.
  2. Open a crafted charts page URL whose jump parameter contains a JavaScript break-out payload.
  3. The injected script executes in the browser under the logged-in user's session.

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 report has not been written yet. The Original tab links to the source.

A web page can include small scripts that run in your browser. This page took a value from the web address and pasted it straight into one of those scripts, so a crafted link could make the browser run code the attacker chose. Because the code runs as the logged-in user, an attacker could act with that user's permissions.

What is XSS?

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

More by Claudio Bozzato

View all

185 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

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.