Stored XSS in OpenAltimetry Application
The 'Add new annotation' feature stored user-supplied content without sanitising it, so injected JavaScript ran when the annotation was opened. An attacker could execute script in the browser of anyone who visited the shared annotation URL.
- Accepted in 15 days
- Fixed in 3 months
- Disclosed after 3 months
Summary by click2jit
Summary of Stored Cross-Site Scripting (XSS) Vulnerability in OpenAltimetry
A stored XSS vulnerability was discovered in the OpenAltimetry application, specifically in the "Add new annotation" feature. This vulnerability allows an attacker to inject malicious JavaScript code, which is stored on the server and executed when the annotation is opened by any user visiting the sharable URL.
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 annotation content was saved and later rendered without output encoding or sanitisation.
Impact
An attacker could run script in the browser of any user who opened the shared annotation URL, which could let them act as that user.
What the attacker needed
Ability to create an annotation; victim opens the shared URL
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.
Stored cross-site scripting means a website saves something dangerous that a user typed and later shows it to other people without cleaning it. Here, the annotation feature saved JavaScript code as part of an annotation, and when another person opened that annotation, their browser ran the code as if the site itself had written it.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.