# CVE-2021-25810: Cross site Scripting (XSS) vulnerability in MERCUSYS Mercury X18G 1.0.5 devices, via crafted values to the 'srcdportstart', 'srcdportend',…

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.11%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-04-29T15:44:02.000Z
- Modified: 2026-06-17T03:42:28.493Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Cross site Scripting (XSS) vulnerability in MERCUSYS Mercury X18G 1.0.5 devices, via crafted values to the 'src_dport_start', 'src_dport_end', and 'dest_port' parameters.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mercusys mercury_x18g_firmware: 1.0.5

## Every score

- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/pokerfacett/MY_REQUEST/blob/master/Mercury%20Router%20X18g%20v1.0.5%20Stored%20XSS.md> (exploit, third-party-advisory)
- <https://www.mercusys.com/en/> (vendor-advisory)
- <https://www.mercurycom.com.cn/product-521-1.html> (broken-link)

## Sources

- CVE List: [CVE-2021-25810](https://www.cve.org/CVERecord?id=CVE-2021-25810), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-25810](https://nvd.nist.gov/vuln/detail/CVE-2021-25810), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-25810 · Whole record: https://cve.day/CVE-2021-25810.json · Rebuilt by cve.day 2026-11-25T22:58:01.091Z
