Skip to content
XSS Disclosed report Intermediate

Stored XSS on byddypress Plug-in via groups name

A group name field in the ByddyPress plugin stored an HTML anchor with an accesskey and onclick handler without sanitisation, so the script ran when a user pressed a keyboard shortcut on the group page. An attacker could execute script in a victim's browser session, though the report only claims this could lead to remote code execution without demonstrating it.

yxw21 Follow

Originally disclosed on HackerOne

  • Paid in 58 days
  • Disclosed after 58 days

Hi, I found that there is a storage xss in another output group name, but this xss needs to press the key combination to trigger. Just create or modify the group information, set the group name to the following payload,

<a href="accesskey=x onclick=alert(document .domain)//"></a>

and then access Group page, if you are macos need to press, shift+control+option+x, if you are windows, you need to press shift+alt+x, then it will trigger xss

1.png
1.png From the original on HackerOne

Don't forget to enable the group feature

Impact

Rce via xss

The original report as published on HackerOne, by yxw21. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Likely the group name was rendered into the page without HTML encoding, allowing an anchor tag with an event handler to be stored and executed.

Impact

Script execution required the victim to press a specific keyboard shortcut, and the claimed path to remote code execution is not shown.

What the attacker needed

Group feature enabled; attacker can create or edit a group; victim presses an accesskey shortcut

How it was found

  1. Enable the group feature in the plugin.
  2. Create or modify a group and set its name to an anchor element with an accesskey and onclick handler.
  3. Open the group page.
  4. Press the platform-specific accesskey combination 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 report has not been written yet. The Original tab links to the source.

A stored cross-site scripting (XSS) flaw means a website saves text a user typed and later shows it as live web code instead of plain text. Here the group name was saved with a hidden link that runs a small script when someone presses a keyboard shortcut on the group page. That lets an attacker run their own code inside another user's browser session.

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 yxw21

View all

2 more disclosed reports, best first.

More from WordPress

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.