CVE-2021-47950 Advanced Guestbook 2.4.4 Persistent XSS via Smilies
Authenticated attackers can inject persistent scripts via the smilies administration interface, leading to code execution when administrators view the page.
- 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-2021-47950?
CVE-2021-47950 is a medium-severity cross-site scripting vulnerability in Ampps Advanced Guestbook, published on 10 May 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Advanced Guestbook 2.4.4 contains a persistent cross-site scripting vulnerability in the smilies administration interface that allows authenticated attackers to inject malicious scripts by manipulating the s_emotion parameter. Attackers can submit POST requests to admin.php with JavaScript code in the s_emotion field, which executes when administrators view the smilies tab.
Weakness: CWE-79
Which versions are affected by CVE-2021-47950?
How do I fix CVE-2021-47950?
No fix has been published for CVE-2021-47950 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-2021-47950 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47950 exists.
Sources
Also known as GHSA-4x8q-cwhj-47mg.