Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. de.ipb-halle/molecularfaces
  4. ›
  5. CVE-2024-0758

CVE-2024-0758: JavaScript execution via malicious molfiles (XSS)

April 16, 2021 (updated January 22, 2026)

The viewer plugin implementation of <mol:molecule> renders molfile data directly inside a <script> tag without any escaping. Arbitrary JavaScript code can thus be executed in the client browser via crafted molfiles.

References

  • github.com/advisories/GHSA-2pwh-52h7-7j84
  • github.com/ipb-halle/MolecularFaces
  • github.com/ipb-halle/MolecularFaces/security/advisories/GHSA-2pwh-52h7-7j84
  • nvd.nist.gov/vuln/detail/CVE-2024-0758
  • vulncheck.com/advisories/vc-advisory-GHSA-2pwh-52h7-7j84

Code Behaviors & Features

Detect and mitigate CVE-2024-0758 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.3.0

Fixed versions

  • 0.3.0

Solution

Upgrade to version 0.3.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/de.ipb-halle/molecularfaces/CVE-2024-0758.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 05 Feb 2026 00:17:19 +0000.