Skip to content
XSS Disclosed report Intermediate

Self-XSS in WordPress Editor Link Modal

A self-XSS vulnerability existed in the link modal of the WordPress editor. An attacker could potentially trick a user into executing malicious script, but the text does not specify the exact mechanism or impact.

0xhzeem Follow

Originally disclosed on HackerOne

  • Triaged in 34 days
  • Fixed in 5 months
  • Paid in 6 months
  • Disclosed after 6 months

Summary by the program

A self-xss was found in the link modal of the WordPress editor and fixed in the WordPress 4.8.2 release.

Summary by the researcher

Was a self-xss on the link modal and the WordPress team were very helpful and they made a patch for the bug happy to work with them :)

The original report as published on HackerOne, by 0xhzeem. 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 insufficient input sanitisation or output encoding in the link modal of the WordPress editor.

What the attacker needed

Victim uses WordPress editor; victim interacts with link modal

The fix

The vulnerability was fixed in the WordPress 4.8.2 release.

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.

Self-XSS is a type of cross-site scripting where a user is tricked into running malicious code themselves, often by pasting something into their own browser. Here, the link modal in the WordPress editor had a flaw that could allow this, but the report does not explain how an attacker would convince someone to do it.

What is XSS?

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

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.