Reflected XSS in popup invocation options
Several popup invocation request parameters were placed into HTML attributes without proper encoding, allowing reflected cross-site scripting. An attacker could send a crafted URL to an authenticated user to run JavaScript in that user's browser, but only if a popup zone already exists.
- Triaged in 13 days
- Fixed in 13 days
- Disclosed after 3 months
Summary by the program
Description
HackerOne community member miauzxw has reported reflected XSS in the popup invocation options. The top, left, timeout and delay request parameters could be included in HTML attributes without proper encoding. An attacker can send a crafted URL to an authenticated user to execute JavaScript in that user's browser. Exploitation requires an existing popup zone, a configuration that can be created through the administrator API but is not offered by the normal zone-creation interface.
Resolution
Popup option values are now HTML-encoded when included in invocation-option form fields.
Security advisory
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 inserted request parameter values into HTML attributes without HTML-encoding them.
Impact
An attacker could execute JavaScript in an authenticated user's browser, but only when a popup zone already exists, which requires an administrator-created configuration.
What the attacker needed
An existing popup zone; victim is authenticated; victim clicks a crafted link
The fix
Popup option values are now HTML-encoded when included in invocation-option form fields.
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.
When a web page puts user-supplied text into its HTML without escaping it, an attacker can sneak in code that the browser then runs. Here, values from the URL were inserted into HTML attributes, so a crafted link could make the victim's browser execute JavaScript. This is called reflected cross-site scripting because the malicious input is echoed back in the response.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.