Medium, CVSS 6.1MavenPublished
JavaScript execution via malicious molfiles (XSS)
CVE-2024-0758 · GHSA-2pwh-52h7-7j84
- Affected
- Maven de.ipb-halle:molecularfaces < 0.3.0
- Fixed in
- 0.3.0· Vendor fix available
- Issue
- Impact 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. Patches Patched in v0.3.0: Molfile data is now rendered as value of a hidden <input tag and escaped via JSF's mechanisms. Workarounds No workaround available.
Recommended action: Upgrade to 0.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.