CVE-2024-47947 Stored cross site scripting
Attackers can inject malicious JavaScript via the disclaimer text field, executing code in other users' browsers to potentially hijack sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-47947?
CVE-2024-47947 is a medium-severity cross-site scripting vulnerability in Image Access GmbH Scan2Net, published on 12 Dec 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Due to missing input sanitization, an attacker can perform cross-site-scripting attacks and run arbitrary Javascript in the browser of other users. The "Edit Disclaimer Text" function of the configuration menu is vulnerable to stored XSS. Only the users Poweruser and Admin can use this function which is available at the URL
https://$SCANNER/cgi/admin.cgi?-rdisclaimer+-apre
The stored Javascript payload will be executed every time the ScanWizard is loaded, even in the Kiosk-mode browser.
Weakness: CWE-79
Which versions are affected by CVE-2024-47947?
How do I fix CVE-2024-47947?
No fix has been published for CVE-2024-47947 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-47947 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-47947 exists.
Sources
Also known as GHSA-f9hr-3m6x-jmr5.