Bug Report: Stored HTML Injection

Open
#1,650 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
angular, typescript
Domain
frontend, security

Research direction

Start by reviewing the ticket comment rendering path in the Runbox 7 web app and trace how comment content is handled; the issue does not name files or tests. Reproduce the stored HTML injection with the supplied ticket comment payload, then verify that comments render safely and the link no longer redirects victims to an external site.

Written by the indexing model from the issue text.

Description

servity:- medium

https://github.com/user-attachments/assets/df5829e7-7771-4a67-8c89-c081e7545d1a

Bug Report: Stored HTML Injection
Description: Hello Team,

I discovered a vulnerability where an attacker can execute a stored HTML injection that leads to an open redirect. This issue allows a malicious user to exploit the application by redirecting victims to arbitrary, potentially harmful websites.

Steps to Reproduce:

Navigate to https://support.runbox.com/index.php?/Tickets/
create an ticket that contains html injection payload
Inject the following HTML code in a comment field: free_reward_is_here
Observe that the HTML injection is executed.and victim will be redirectd on evil.com
Impact: This vulnerability has significant security implications:

Phishing & XSS: The attacker can host a phishing page or an XSS attack on the redirected site, potentially compromising the victim's credentials or executing malicious scripts.
This vulnerability allows an attacker to craft a malicious link that, when clicked by a user, redirects them to an external site. This can be exploited to direct users to phishing sites, initiate XSS attacks, or serve other malicious content. The open redirect can be used as a vector to further compromise the user's security by leading them to harmful websites.
Website Defacement: The appearance of the page can be altered, potentially damaging the reputation of the website.
This issue poses a threat to users' security by exposing them to phishing attacks and other malicious activities. Please prioritize the investigation and mitigation of this

Dominant language
TypeScript
Stars
132
Forks
55
Avg merge
6d 17h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from runbox/runbox7

All issues in runbox/runbox7

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.