Skip to content
XSS Disclosed report Beginner

HTML Injection possible due to bad filter

The report describes a tag input field that parses HTML when a tag is entered without a closing bracket, but the parsing does not persist after saving. The author suspects this could lead to XSS but has not demonstrated harmful code execution.

jackb898 Follow

Originally disclosed on HackerOne

  • Triaged in 31 hours
  • Fixed in 3 days
  • Disclosed after 24 days

Hello,

I have found an area where it may be possible to run certain HTML/JS scripts.

TO REPRODUCE:

  1. Go to documents

  2. Upload anything and edit it

  3. On the edit page in tags, enter code without a closing bracket ex. <img src=x

  4. Click enter

  5. It will be parsed in that area, but after saving it, it won't parse.

POTENTIAL: I'm still looking into this, as this could be a possible XSS vuln if I can find vectors without closing brackets that have harmful code.

WHY IT WORKS: The reason this works is because your filter only looks for opening AND closing brackets, when it is possible to run code without closing the brackets.

Thanks, Kicker

The original report as published on HackerOne, by jackb898. 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 input filter only checks for complete opening and closing brackets, so incomplete tags slip through and get parsed.

Impact

The parsing only happens before saving and does not persist, so no harmful script execution was shown; the author only suggests it could be an XSS vulnerability if a harmful vector is found.

What the attacker needed

Ability to upload and edit a document

How it was found

  1. Go to documents
  2. Upload anything and edit it
  3. On the edit page in tags, enter code without a closing bracket
  4. Click enter
  5. Observe that it is parsed in that area, but after saving it won't parse

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.

This is about a place where you can type tags, and the site accidentally treats some typed text as HTML code. HTML is the language that builds web pages, and if a site runs HTML you type, it can sometimes run scripts too. The author found a small glitch but could not make anything harmful happen.

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 jackb898

View all

9 more disclosed reports, best first.

More from VK.com

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.