CVE-2023-6142 Dev Blog v1.0 - Stored XSS
Attackers can execute arbitrary scripts in victims' browsers by uploading malicious HTML files with predictable names, potentially leading to session hijacking.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-6142?
CVE-2023-6142 is a medium-severity cross-site scripting vulnerability in Dev Blog, published on 20 Nov 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Dev blog v1.0 allows to exploit an XSS through an unrestricted file upload, together with a bad entropy of filenames. With this an attacker can upload a malicious HTML file, then guess the filename of the uploaded file and send it to a potential victim.
Weakness: CWE-79
Which versions are affected by CVE-2023-6142?
It affects 1 product.
Products include Armanidrisi Dev Blog.
How do I fix CVE-2023-6142?
No fix has been published for CVE-2023-6142 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-2023-6142 being exploited?
There is no known exploitation of CVE-2023-6142 in the wild and no public exploit code.
Other vulnerabilities in Dev Blog
Sources
Also known as GHSA-fh8c-9pw4-5fjj.