CVE-2024-31651: Cosmetics · Cross-site Scripting
Source CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate CVE-2024-31651, organizations should implement strict input validation and output encoding on all user-supplied data, particularly the First Name parameter and other form inputs. Employ context-aware encoding techniques such as HTML entity encoding to neutralize injected scripts. Use security frameworks or libraries that automatically handle XSS protection. Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts. Conduct thorough security testing, including automated and manual penetration testing focused on injection points. Educate developers on secure coding practices to prevent similar vulnerabilities. Monitor web application logs for suspicious input patterns and consider deploying Web Application Firewalls (WAFs) with rules targeting XSS payloads. Finally, maintain an incident response plan to quickly address any exploitation attempts.
Description
A cross-site scripting (XSS) in Cosmetics and Beauty Product Online Store v1.0 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the First Name parameter.