Skip to main content
VulnerabilityPublished Updated

CVE-2024-42055: cervantes · Cross-site Scripting

Affects cervantesSource CVE Database V5

0

Not known to be exploited · CVSS 6.1 Medium.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 34% 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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 28 Jul 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

Affected software

ProductAffectedFixed in
GitHubcervantessec/cervantespkg:github/cervantessec/cervantesOther threatsAffected
  • =0.5-alpha
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

To mitigate CVE-2024-42055, organizations should implement a multi-layered approach beyond generic advice. First, apply strict input validation on all user-supplied data, ensuring that potentially dangerous characters are either rejected or sanitized before storage. Employ context-aware output encoding when rendering data in HTML, JavaScript, or other contexts to prevent script execution. Use security libraries or frameworks that provide built-in XSS protection mechanisms. Conduct thorough code reviews and security testing, including automated scanning and manual penetration testing focused on XSS vectors. Monitor logs and user reports for suspicious activity indicative of XSS exploitation attempts. If possible, isolate or sandbox components handling untrusted input to limit the impact of any successful injection. Educate users about the risks of interacting with untrusted links or content. Stay updated with vendor advisories and apply patches promptly once available. Implement Content Security Policy (CSP) headers to reduce the impact of injected scripts by restricting sources of executable code.

Description

Cervantes through 0.5-alpha allows stored XSS.

References

Community reviews

Loading reviews…