Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

YOURLS 1.8.2 - Cross-Site Request Forgery (CSRF)

0
Medium
Published: Tue Dec 02 2025 (12/02/2025, 00:00:00 UTC)
Source: Exploit-DB RSS Feed

Description

YOURLS 1.8.2 - Cross-Site Request Forgery (CSRF)

AI-Powered Analysis

AILast updated: 12/23/2025, 23:22:43 UTC

Technical Analysis

The security threat concerns a Cross-Site Request Forgery (CSRF) vulnerability in YOURLS version 1.8.2, an open-source URL shortening application widely used for managing and creating short URLs. CSRF vulnerabilities allow attackers to induce authenticated users to submit unwanted requests to a web application in which they are currently authenticated, potentially leading to unauthorized actions such as creating, modifying, or deleting shortened URLs. This can undermine the integrity of the URL shortening service, potentially redirecting users to malicious sites or disrupting service availability. The exploit code is publicly available, increasing the risk of exploitation. The vulnerability requires the victim to be logged into the YOURLS application and to visit a malicious website that triggers the forged request. No patches or official fixes have been linked, suggesting that users must implement manual mitigations or upgrade if newer versions address the issue. While no known exploits in the wild have been reported, the presence of exploit code indicates a credible threat. YOURLS is often deployed in small to medium enterprises and organizations that require custom URL shortening services, making this vulnerability relevant to those environments. The lack of a CVSS score necessitates an independent severity assessment, which is medium given the potential for unauthorized actions but limited by the need for user authentication and interaction.

Potential Impact

For European organizations, the CSRF vulnerability in YOURLS 1.8.2 could result in unauthorized manipulation of URL shortening services, leading to potential redirection of users to malicious websites, loss of trust, and reputational damage. This could also facilitate phishing campaigns or malware distribution if attackers alter shortened URLs to point to harmful destinations. Organizations relying on YOURLS for internal or external URL management may face service disruption or data integrity issues. The impact is particularly significant for public-facing services or those integrated into broader marketing or communication platforms. Confidentiality impact is low since the vulnerability does not directly expose sensitive data, but integrity and availability could be compromised. The requirement for user authentication and interaction limits the scope but does not eliminate risk, especially in environments with many users or high traffic. European entities with digital marketing, e-commerce, or public communication functions using YOURLS are at higher risk.

Mitigation Recommendations

To mitigate this CSRF vulnerability, organizations should first check for and apply any available updates or patches from the YOURLS project that address CSRF protections. If no official patch exists, implement anti-CSRF tokens in all forms and state-changing requests within YOURLS to ensure requests are legitimate. Employ Content Security Policy (CSP) headers to restrict the sources of executable scripts and reduce the risk of malicious site interactions. Encourage users to log out of YOURLS sessions when not in use and educate them about the risks of visiting untrusted websites while authenticated. Consider deploying web application firewalls (WAFs) with rules to detect and block CSRF attack patterns. Additionally, review and harden session management policies, including setting secure, HttpOnly cookies and limiting session lifetimes. For organizations with development resources, consider contributing patches or custom fixes to the YOURLS codebase to enforce CSRF protections. Regularly audit and monitor YOURLS logs for suspicious activities indicative of CSRF exploitation attempts.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Edb Id
52446
Has Exploit Code
true
Code Language
text

Indicators of Compromise

Exploit Source Code

Exploit Code

Exploit code for YOURLS 1.8.2 - Cross-Site Request Forgery (CSRF)

# Exploit Title: YOURLS 1.8.2 - Cross-Site Request Forgery (CSRF)
# Date: 2025-11-25
# Exploit Author: CodeSecLab
# Vendor Homepage: https://github.com/yourls/yourls/
# Software Link: https://github.com/yourls/yourls/
# Version: 1.8.2 
# Tested on: Windows
# CVE : CVE-2022-0088


Proof Of Concept
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
... (681 more characters)
Code Length: 1,181 characters

Threat ID: 692f27653286267b25e73fe7

Added to database: 12/2/2025, 5:52:37 PM

Last enriched: 12/23/2025, 11:22:43 PM

Last updated: 1/19/2026, 8:39:45 PM

Views: 47

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats