# CVE-2025-9823: Reflected XSS in lead:addLeadTags - Quick Add

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.8
- **CVSS:** 4.8 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: Active; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.58% (percentile 42, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-9v8p-m85m-f7mm
- **Published:** 2025-09-03T14:33:26.111Z
- **Modified:** 2026-10-19T17:10:00.173Z

## Who should check

- Projects that depend on Packagist package mautic/core (\>= 4.4.0, \< 4.4.17)
- Anyone running Mautic \>= \>= 4.4.0, \< \< 4.4.17; \>= \>= 5.0.0-alpha, \< \< 5.2.8; \>= \>= 6.0.0-alpha, \< \< 6.0.5

## Description

SummaryA Cross-Site Scripting (XSS) vulnerability allows an attacker to execute arbitrary JavaScript in the context of another user’s session. This occurs because user-supplied input is reflected back in the server’s response without proper sanitization or escaping, potentially enabling malicious actions such as session hijacking, credential theft, or unauthorized actions in the application.

DetailsThe vulnerability resides in the “Tags” input field on the /s/ajax?action=lead:addLeadTags endpoint. Although the server applies sanitization before storing the data or returning it later, the payload is executed immediately in the victim’s browser upon reflection, allowing an attacker to run arbitrary JavaScript in the user’s session.

ImpactA Reflected XSS attack can have a significant impact, allowing attackers to steal sensitive user data like cookies, redirect users to malicious websites, manipulate the web page content, and essentially take control of a user's session within an application by executing malicious JavaScript code within the victim's browser, even if the server-side code is secure; essentially enabling them to perform actions as if they were the logged-in user.

References  \*   Web Security Academy: Cross-site scripting https://portswigger.net/web-security/cross-site-scripting 
  \*   Web Security Academy: Reflected cross-site scripting https://portswigger.net/web-security/cross-site-scripting/reflected

## Affected and fixed versions

- Packagist `mautic/core`: affected \>= 4.4.0, \< 4.4.17; fixed 4.4.17, 5.2.8, 6.0.5 (osv)
- Mautic: \>= \>= 4.4.0, \< \< 4.4.17; \>= \>= 5.0.0-alpha, \< \< 5.2.8; \>= \>= 6.0.0-alpha, \< \< 6.0.5 (cvelist)

## Mitigation

- Upgrade mautic/core to one of 4.4.17, 5.2.8, 6.0.5 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-9823. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-9823.md
Affected: mautic/core >= 4.4.0, < 4.4.17
Fixed in: 4.4.17, 5.2.8, 6.0.5

Steps:
1. Search this machine and project for mautic/core (Packagist), Mautic: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-9823 being exploited?

There is no confirmed exploitation: CVE-2025-9823 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-9823?

Medium: CVSS 4.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-9823?

mautic/core \>= 4.4.0, \< 4.4.17.

### Is there a fix for CVE-2025-9823?

Yes. Fixed in 4.4.17, 5.2.8, 6.0.5. Upgrade mautic/core to one of 4.4.17, 5.2.8, 6.0.5 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-9823?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/mautic/mautic/security/advisories/GHSA-9v8p-m85m-f7mm>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-9823>
- other: <https://github.com/mautic/mautic>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-9823>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9v8p-m85m-f7mm> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-9823> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-9823>
