CVE-2021-47950

Advanced Guestbook 2.4.4 Persistent XSS via Smilies

Published May 10, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Advanced Guestbook 2.4.4 contains a persistent cross‑site scripting flaw in the smilies administration interface that allows authenticated administrators to inject JavaScript by manipulating the s_emotion parameter; a malicious script that is stored will execute whenever the smilies tab is viewed, which can lead to arbitrary code execution in the context of the administrator’s browser. The CVE description does not specify the exact downstream effects of this execution, but the ability to run JavaScript grants potential control over the admin interface, which could be used for data exfiltration or site tampering, an inference derived from the nature of the flaw.

Affected Systems

The vulnerability affects installations of Advanced Guestbook version 2.4.4 provided by AmpPS that expose the smilies administration page; only systems that allow authenticated administrators to edit smilies entries are at risk.

Risk and Exploitability

The CVSS score of 5.1 indicates moderate severity; the exploit requires authenticated access to the admin interface, limiting public exploitability; EPSS data is not available and the vulnerability is not listed in the CISA KEV catalog; exploitation would necessitate one administrator unknowingly submitting malicious content and another administrator viewing the smilies tab.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check for and install any available patch that removes the smilies XSS flaw in Advanced Guestbook.
  • If a patch is not available, eliminate the smilies administration feature or restrict access so that no administrator can edit smilies entries.
  • Validate and encode input for the s_emotion parameter on both entry and display to ensure script code is never executed.
  • Deploy a Content Security Policy on the administration pages that blocks inline JavaScript execution.

Generated by OpenCVE AI on May 10, 2026 at 15:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Simplephpscripts
Simplephpscripts guestbook Script
CPEs cpe:2.3:a:simplephpscripts:guestbook_script:2.4.4:*:*:*:*:*:*:*
Vendors & Products Simplephpscripts
Simplephpscripts guestbook Script
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Ampps
Ampps advanced Guestbook
Vendors & Products Ampps
Ampps advanced Guestbook
Type Values Removed Values Added
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.
Title Advanced Guestbook 2.4.4 Persistent XSS via Smilies
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 15, 2026, 1:24 AM
Reserved
Feb 1, 2026, 11:24 AM
Status
Deferred
Published
May 10, 2026, 1:16 PM
Modified
Jul 20, 2026, 8:10 PM