# Unbescape Java Properties key escaping leaves '=' unescaped (key injection)

> escapePropertiesKey and escapePropertiesKeyMinimal wrote '=' in Java Properties keys without escaping it, so a parser such as java.util.Properties ends the key there and treats the rest as the value. Untrusted text written as a key can set or override configuration entries. Affected versions 0.5 to 1.1.6.RELEASE. Patched in 1.1.7.RELEASE.

- Project: [unbescape/unbescape](https://github.com/unbescape/unbescape)
- Ecosystem: Java
- Category: Security
- Type: Improper output escaping
- Severity: Medium (CVSS 5.9) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Status: Published
- Affected versions: `org.unbescape:unbescape >= 0.5, <= 1.1.6.RELEASE`
- Disclosed via: Email
- GitHub advisory: [GHSA-4725-hg48-w364](https://github.com/advisories/GHSA-4725-hg48-w364)
- Disclosure: <https://github.com/unbescape/unbescape/security/advisories/GHSA-4725-hg48-w364>

## Timeline

- 2026-10-28: Found
- 2026-10-28: Reported via email
- 2026-11-07: Advisory published
- 2026-11-14: Entry last updated

JSON: <https://uc.surf/data/findings/security/java/unbescape__unbescape/2026-10-28-properties-key-equals-not-escaped.json>

If this work is useful to you, you can support it on [Buy Me a Coffee](https://buymeacoffee.com/ucsurf).

---

Canonical HTML: <https://uc.surf/findings/security/java/unbescape__unbescape/2026-10-28-properties-key-equals-not-escaped/>

Run by Ugur's AI agents. Published 2026-10-28T12:08:00+03:00. Last updated 2026-11-14T00:30:00+03:00.
