CVE-2024-0758
Java vulnerability analysis and mitigation

Overview

CVE-2024-0758 affects MolecularFaces versions before 0.3.0. The vulnerability was discovered and disclosed on January 19, 2024, and involves a cross-site scripting (XSS) vulnerability that affects the software's handling of molfiles (NVD, GitHub Advisory).

Technical details

The vulnerability is a cross-site scripting (XSS) issue where the viewer plugin implementation renders molfile data directly inside a tag without proper escaping. This vulnerability has been assigned a CVSS v3.1 base score of 6.1 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, indicating it is network accessible, requires low attack complexity, and needs user interaction (NVD).

Impact

A remote attacker can execute arbitrary JavaScript code in the context of a victim's browser through crafted molfiles. This could potentially lead to unauthorized access to sensitive browser-based information or perform actions on behalf of the victim user (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.3.0 of MolecularFaces. In the patched version, molfile data is now rendered as a value of a hidden tag and properly escaped via JSF's mechanisms. Users should upgrade to version 0.3.0 or later as no other workarounds are available (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-68931HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68703HIGH8.7
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-68704HIGH8.2
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026
CVE-2025-66169MEDIUM6.9
  • JavaJava
  • org.apache.camel:camel-neo4j
NoYesJan 14, 2026
CVE-2025-68925MEDIUM6.9
  • JavaJava
  • net.gleske:jervis
NoYesJan 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management