Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-5352

9.6 · CRITICAL
Published Aug 23, 2025 lunary CWE-79 EPSS 0.50% (41th pctl)

Overview

CVE-2025-5352 is a critical-severity vulnerability affecting lunary lunary. It was published on August 23, 2025 and has a CVSS 3.1 base score of 9.6 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.6, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

A critical stored Cross-Site Scripting (XSS) vulnerability exists in the Analytics component of lunary-ai/lunary versions up to 1.9.23, where the NEXT_PUBLIC_CUSTOM_SCRIPT environment variable is directly injected into the DOM using dangerouslySetInnerHTML without any sanitization or validation. This allows arbitrary JavaScript execution in all users' browsers if an attacker can control the environment variable during deployment or through server compromise. The vulnerability can lead to complete account takeover, data exfiltration, malware distribution, and persistent attacks affecting all users until the environment variable is cleaned. The issue is fixed in version 1.9.25.

Remediation

Check the references section for vendor advisories and patches from lunary. Update lunary to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
lunary lunary >= 0, < 1.9.25 Affected

Frequently Asked Questions

What is CVE-2025-5352?

CVE-2025-5352 is a critical-severity vulnerability affecting lunary lunary. It was published on August 23, 2025 and has a CVSS 3.1 base score of 9.6 (CRITICAL).

How severe is CVE-2025-5352?

This vulnerability has a CVSS 3.1 base score of 9.6, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-5352?

Check the references section for vendor advisories and patches from lunary. Update lunary to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-5352?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-5352 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.