CVE-2022-0088: CVE-2022-0088: Cross-Site Request Forgery (CSRF) in GitHub repository yourls/yourls prior to 1.8.3.
yourls · yourls · NVD published 2022-04-03 · posted 2025-12-02 · last modified 2026-06-17
What it is
Cross-Site Request Forgery (CSRF) in GitHub repository yourls/yourls prior to 1.8.3.
| Weakness | CWE-352 |
|---|---|
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N (source: [email protected]) |
| ATT&CK tactics | Execution |
Exploitation evidence
First exploit evidence seen: 2025-12-02 (earliest date across the sources below).
Exploited in the wild
No source on this site lists in-the-wild exploitation yet (CISA KEV, VulnCheck KEV).
Public exploit code
Exploit-DB
- EDB-52446: YOURLS 1.8.2 - Cross-Site Request Forgery (CSRF) (2025-12-02)
Sources: Exploit-DB (OffSec).
Defend the Chain
The attack chain for CVE-2022-0088 laid across the MITRE ATT&CK Enterprise tactics. Solid cards come from the MITRE CTID KEV mappings; dashed cards are inferred by CVERadar from the CWE or description. Correct defences are real ATT&CK mitigations for that technique.
Pick a red technique card on the board, then choose the defence that stops it.
Defend against T1204.001 Malicious Link Inferred
Inferred from CWE CWE-352
How to fix it
Fixed versions
- yourls yourls: upgrade to 1.8.3 or later
Derived from the NVD CPE configuration (versionEndExcluding / versionEndIncluding). Always confirm with the vendor advisory.
Vendor advisories and patches
- https://github.com/yourls/yourls/commit/1de256d8694b0ec7d4df2ac1d5976d4055e09d59 (Patch, Third Party Advisory)
- https://huntr.dev/bounties/d01f0726-1a0f-4575-ae17-4b5319b11c29 (Exploit, Issue Tracking, Patch, Third Party Advisory)
MITRE ATT&CK mitigations for this chain
- M1031 Network Intrusion Prevention (for T1204.001) : If a link is being visited by a user, network intrusion prevention systems and systems designed to scan and remove malicious downloads can be used to block activity.
- M1017 User Training (for T1204.001) : Use user training as a way to bring awareness to common phishing and spearphishing techniques and how to raise suspicion for potentially malicious events.
- M1021 Restrict Web-Based Content (for T1204.001) : If a link is being visited by a user, block unknown or unused files in transit by default that should not be downloaded or by policy from suspicious sites as a best practice to prevent some vectors, such as .scr, .exe, .pif, .cpl, etc. Some download scanning devices can open and analyze compressed and encrypted formats
Detection Generic guidance
- Execution: Watch for the service process spawning shells or script interpreters (cmd.exe, powershell, sh, bash, python) via EDR process-tree rules.
Response checklist Generic guidance
- Inventory: find every instance of the affected product and version (include internet-facing and forgotten ones).
- Patch or mitigate per the vendor advisory; if you cannot patch, remove internet exposure or apply the vendor workaround.
- Assume compromise if the system was exposed before patching: hunt for the indicators in the advisory and review logs back to the disclosure date.
- Rotate credentials and secrets stored on or used by the affected system if compromise cannot be ruled out.