CWE-352
AllowedCross-Site Request Forgery (CSRF)
Abstraction: Compound · Status: Stable
The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.
14161 vulnerabilities reference this CWE, most recent first.
GHSA-WRVC-X3WF-J5F5
Vulnerability from github – Published: 2025-12-10 21:31 – Updated: 2025-12-23 16:021Panel versions 1.10.33 - 2.0.15 contain a cross-site request forgery (CSRF) vulnerability in the web port configuration functionality. The port-change endpoint lacks CSRF defenses such as anti-CSRF tokens or Origin/Referer validation. An attacker can craft a malicious webpage that submits a port-change request; when a victim visits it while authenticated, the browser includes valid session cookies and the request succeeds. This allows an attacker to change the port on which the 1Panel web service listens, causing loss of access on the original port and resulting in service disruption or denial of service, and may unintentionally expose the service on an attacker-chosen port.
{
"affected": [
{
"package": {
"ecosystem": "Go",
"name": "github.com/1Panel-dev/1Panel"
},
"ranges": [
{
"events": [
{
"introduced": "1.10.33"
},
{
"last_affected": "2.0.15"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-34429"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": true,
"github_reviewed_at": "2025-12-10T21:55:56Z",
"nvd_published_at": "2025-12-10T19:16:13Z",
"severity": "HIGH"
},
"details": "1Panel versions 1.10.33 - 2.0.15 contain a cross-site request forgery (CSRF) vulnerability in the web port configuration functionality. The port-change endpoint lacks CSRF defenses such as anti-CSRF tokens or Origin/Referer validation. An attacker can craft a malicious webpage that submits a port-change request; when a victim visits it while authenticated, the browser includes valid session cookies and the request succeeds. This allows an attacker to change the port on which the 1Panel web service listens, causing loss of access on the original port and resulting in service disruption or denial of service, and may unintentionally expose the service on an attacker-chosen port.",
"id": "GHSA-wrvc-x3wf-j5f5",
"modified": "2025-12-23T16:02:04Z",
"published": "2025-12-10T21:31:32Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-34429"
},
{
"type": "WEB",
"url": "https://1panel.pro"
},
{
"type": "PACKAGE",
"url": "https://github.com/1Panel-dev/1Panel"
},
{
"type": "WEB",
"url": "https://github.com/1Panel-dev/1Panel/releases"
},
{
"type": "WEB",
"url": "https://www.vulncheck.com/advisories/1panel-csrf-web-port-configuration-change"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N",
"type": "CVSS_V4"
}
],
"summary": "1Panel contains a cross-site request forgery (CSRF) vulnerability in the web port configuration functionality"
}
GHSA-WRVJ-V472-2RWH
Vulnerability from github – Published: 2022-05-17 03:57 – Updated: 2022-05-17 03:57Cross-site request forgery (CSRF) vulnerability in the Casebook plugin before 0.9.4 for baserCMS allows remote attackers to hijack the authentication of administrators.
{
"affected": [],
"aliases": [
"CVE-2016-1170"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2016-04-06T23:59:00Z",
"severity": "HIGH"
},
"details": "Cross-site request forgery (CSRF) vulnerability in the Casebook plugin before 0.9.4 for baserCMS allows remote attackers to hijack the authentication of administrators.",
"id": "GHSA-wrvj-v472-2rwh",
"modified": "2022-05-17T03:57:22Z",
"published": "2022-05-17T03:57:22Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-1170"
},
{
"type": "WEB",
"url": "https://hiniarata.jp/news/archives/55"
},
{
"type": "WEB",
"url": "http://jvn.jp/en/jp/JVN55801246/index.html"
},
{
"type": "WEB",
"url": "http://jvndb.jvn.jp/jvndb/JVNDB-2016-000045"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
GHSA-WRW3-QMQW-4X9W
Vulnerability from github – Published: 2023-08-08 18:30 – Updated: 2024-11-19 19:14Cross Site Request Forgery (CSRF) vulnerability in wger Project wger Workout Manager 2.2.0a3 allows a remote attacker to gain privileges via the user-management feature in the gym/views/gym.py, templates/gym/reset_user_password.html, templates/user/overview.html, core/views/user.py, and templates/user/preferences.html, core/forms.py components.
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "wger"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "2.2.0a3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2023-38759"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": true,
"github_reviewed_at": "2023-08-17T19:08:14Z",
"nvd_published_at": "2023-08-08T16:15:12Z",
"severity": "HIGH"
},
"details": "Cross Site Request Forgery (CSRF) vulnerability in wger Project wger Workout Manager 2.2.0a3 allows a remote attacker to gain privileges via the `user-management` feature in the `gym/views/gym.py`, `templates/gym/reset_user_password.html`, `templates/user/overview.html`, `core/views/user.py`, and `templates/user/preferences.html`, `core/forms.py` components.",
"id": "GHSA-wrw3-qmqw-4x9w",
"modified": "2024-11-19T19:14:55Z",
"published": "2023-08-08T18:30:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-38759"
},
{
"type": "WEB",
"url": "https://github.com/0x72303074/CVE-Disclosures"
},
{
"type": "WEB",
"url": "https://github.com/pypa/advisory-database/tree/main/vulns/wger/PYSEC-2023-144.yaml"
},
{
"type": "PACKAGE",
"url": "https://github.com/wger-project/wger"
},
{
"type": "WEB",
"url": "https://wger.de"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "wger Workout Manager Cross-Site Request Forgery vulnerability"
}
GHSA-WV26-RJ8C-4R33
Vulnerability from github – Published: 2018-11-06 23:15 – Updated: 2022-09-14 22:00CSRF exists in the Auth0 authentication service through 14591 if the Legacy Lock API flag is enabled.
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "auth0-js"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "9.0.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2018-6874"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T22:01:12Z",
"nvd_published_at": null,
"severity": "HIGH"
},
"details": "CSRF exists in the Auth0 authentication service through 14591 if the Legacy Lock API flag is enabled.",
"id": "GHSA-wv26-rj8c-4r33",
"modified": "2022-09-14T22:00:43Z",
"published": "2018-11-06T23:15:13Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-6874"
},
{
"type": "WEB",
"url": "https://auth0.com/docs/security/bulletins/cve-2018-6874"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-wv26-rj8c-4r33"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/103695"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Cross-Site Request Forgery (CSRF) in Auth0"
}
GHSA-WV36-9CFH-HQGR
Vulnerability from github – Published: 2022-05-17 04:40 – Updated: 2022-05-17 04:40Multiple cross-site request forgery (CSRF) vulnerabilities in Lunar CMS before 3.3-3 allow remote attackers to hijack the authentication of administrators for requests that (1) add Super users via a request to admin/user_create.php or conduct cross-site scripting (XSS) attacks via the (2) email or (3) subject parameter in contact_form.ext.php to admin/extensions.php.
{
"affected": [],
"aliases": [
"CVE-2014-4718"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2014-07-03T14:55:00Z",
"severity": "MODERATE"
},
"details": "Multiple cross-site request forgery (CSRF) vulnerabilities in Lunar CMS before 3.3-3 allow remote attackers to hijack the authentication of administrators for requests that (1) add Super users via a request to admin/user_create.php or conduct cross-site scripting (XSS) attacks via the (2) email or (3) subject parameter in contact_form.ext.php to admin/extensions.php.",
"id": "GHSA-wv36-9cfh-hqgr",
"modified": "2022-05-17T04:40:42Z",
"published": "2022-05-17T04:40:42Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2014-4718"
},
{
"type": "WEB",
"url": "http://lunarcms.com/Get.html"
},
{
"type": "WEB",
"url": "http://osvdb.org/show/osvdb/108350"
},
{
"type": "WEB",
"url": "http://osvdb.org/show/osvdb/108351"
},
{
"type": "WEB",
"url": "http://packetstormsecurity.com/files/127188/Lunar-CMS-3.3-CSRF-Cross-Site-Scripting.html"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/59411"
},
{
"type": "WEB",
"url": "http://www.exploit-db.com/exploits/33830"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/68153"
},
{
"type": "WEB",
"url": "http://www.zeroscience.mk/en/vulnerabilities/ZSL-2014-5188.php"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-WV37-XGJF-VMRR
Vulnerability from github – Published: 2025-01-07 12:31 – Updated: 2026-04-01 18:33Cross-Site Request Forgery (CSRF) vulnerability in BannerSky.com BSK Forms Blacklist allows Blind SQL Injection.This issue affects BSK Forms Blacklist: from n/a through 3.9.
{
"affected": [],
"aliases": [
"CVE-2025-22347"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-01-07T11:15:17Z",
"severity": "HIGH"
},
"details": "Cross-Site Request Forgery (CSRF) vulnerability in BannerSky.com BSK Forms Blacklist allows Blind SQL Injection.This issue affects BSK Forms Blacklist: from n/a through 3.9.",
"id": "GHSA-wv37-xgjf-vmrr",
"modified": "2026-04-01T18:33:03Z",
"published": "2025-01-07T12:31:01Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-22347"
},
{
"type": "WEB",
"url": "https://patchstack.com/database/wordpress/plugin/bsk-gravityforms-blacklist/vulnerability/wordpress-bsk-forms-blacklist-plugin-3-9-csrf-to-sql-injection-vulnerability?_s_id=cve"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:L",
"type": "CVSS_V3"
}
]
}
GHSA-WV6M-W8JV-X79Q
Vulnerability from github – Published: 2022-05-14 02:48 – Updated: 2025-04-12 12:47Cross-site request forgery (CSRF) vulnerability in the TheCartPress eCommerce Shopping Cart (aka The Professional WordPress eCommerce Plugin) plugin for WordPress before 1.3.9.3 allows remote attackers to hijack the authentication of administrators for requests that conduct directory traversal attacks via the tcp_box_path parameter in the checkout_editor_settings page to wp-admin/admin.php.
{
"affected": [],
"aliases": [
"CVE-2015-3986"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2015-05-14T14:59:00Z",
"severity": "MODERATE"
},
"details": "Cross-site request forgery (CSRF) vulnerability in the TheCartPress eCommerce Shopping Cart (aka The Professional WordPress eCommerce Plugin) plugin for WordPress before 1.3.9.3 allows remote attackers to hijack the authentication of administrators for requests that conduct directory traversal attacks via the tcp_box_path parameter in the checkout_editor_settings page to wp-admin/admin.php.",
"id": "GHSA-wv6m-w8jv-x79q",
"modified": "2025-04-12T12:47:59Z",
"published": "2022-05-14T02:48:33Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2015-3986"
},
{
"type": "WEB",
"url": "https://wordpress.org/plugins/thecartpress/changelog"
},
{
"type": "WEB",
"url": "https://www.exploit-db.com/exploits/36860"
},
{
"type": "WEB",
"url": "https://www.htbridge.com/advisory/HTB23254"
},
{
"type": "WEB",
"url": "http://packetstormsecurity.com/files/131673/WordPress-TheCartPress-1.3.9-XSS-Local-File-Inclusion.html"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/archive/1/535396/100/0/threaded"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/74395"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-WV6X-VVQC-64V2
Vulnerability from github – Published: 2024-05-14 18:30 – Updated: 2026-04-28 21:35Cross-Site Request Forgery (CSRF) vulnerability in Huseyin Berberoglu WP Favorite Posts.This issue affects WP Favorite Posts: from n/a through 1.6.8.
{
"affected": [],
"aliases": [
"CVE-2024-34427"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2024-05-14T15:39:00Z",
"severity": "MODERATE"
},
"details": "Cross-Site Request Forgery (CSRF) vulnerability in Huseyin Berberoglu WP Favorite Posts.This issue affects WP Favorite Posts: from n/a through 1.6.8.",
"id": "GHSA-wv6x-vvqc-64v2",
"modified": "2026-04-28T21:35:09Z",
"published": "2024-05-14T18:30:50Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-34427"
},
{
"type": "WEB",
"url": "https://patchstack.com/database/vulnerability/wp-favorite-posts/wordpress-wp-favorite-posts-plugin-1-6-8-cross-site-request-forgery-csrf-vulnerability?_s_id=cve"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
"type": "CVSS_V3"
}
]
}
GHSA-WV7Q-JV97-6XHG
Vulnerability from github – Published: 2022-05-17 02:08 – Updated: 2022-05-17 02:08Multiple cross-site request forgery (CSRF) vulnerabilities in Mahara before 1.0.15, 1.1.x before 1.1.9, and 1.2.x before 1.2.5 allow remote attackers to hijack the authentication of unspecified victims via unknown vectors.
{
"affected": [],
"aliases": [
"CVE-2010-1668"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2010-07-06T17:17:00Z",
"severity": "MODERATE"
},
"details": "Multiple cross-site request forgery (CSRF) vulnerabilities in Mahara before 1.0.15, 1.1.x before 1.1.9, and 1.2.x before 1.2.5 allow remote attackers to hijack the authentication of unspecified victims via unknown vectors.",
"id": "GHSA-wv7q-jv97-6xhg",
"modified": "2022-05-17T02:08:43Z",
"published": "2022-05-17T02:08:43Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2010-1668"
},
{
"type": "WEB",
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/59994"
},
{
"type": "WEB",
"url": "http://secunia.com/advisories/40431"
},
{
"type": "WEB",
"url": "http://wiki.mahara.org/Release_Notes/1.0.15"
},
{
"type": "WEB",
"url": "http://wiki.mahara.org/Release_Notes/1.1.9"
},
{
"type": "WEB",
"url": "http://wiki.mahara.org/Release_Notes/1.2.5"
},
{
"type": "WEB",
"url": "http://www.securityfocus.com/bid/41319"
}
],
"schema_version": "1.4.0",
"severity": []
}
GHSA-WV94-3WC8-85H3
Vulnerability from github – Published: 2023-04-05 00:30 – Updated: 2025-02-13 18:31VitalPBX version 3.2.3-8 allows an unauthenticated external attacker to obtain the instance administrator's account. This is possible because the application is vulnerable to CSRF.
{
"affected": [],
"aliases": [
"CVE-2023-0480"
],
"database_specific": {
"cwe_ids": [
"CWE-352"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2023-04-04T23:15:00Z",
"severity": "HIGH"
},
"details": "VitalPBX version 3.2.3-8 allows an unauthenticated external attacker to obtain the instance administrator\u0027s account. This is possible because the application is vulnerable to CSRF.",
"id": "GHSA-wv94-3wc8-85h3",
"modified": "2025-02-13T18:31:31Z",
"published": "2023-04-05T00:30:39Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-0480"
},
{
"type": "WEB",
"url": "https://fluidattacks.com/advisories/sharp"
},
{
"type": "WEB",
"url": "https://vitalpbx.com"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Mitigation MIT-4
Strategy: Libraries or Frameworks
- Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid [REF-1482].
- For example, use anti-CSRF packages such as the OWASP CSRFGuard. [REF-330]
- Another example is the ESAPI Session Management control, which includes a component for CSRF. [REF-45]
Mitigation
Ensure that the application is free of cross-site scripting issues (CWE-79), because most CSRF defenses can be bypassed using attacker-controlled script.
Mitigation
Generate a unique nonce for each form, place the nonce into the form, and verify the nonce upon receipt of the form. Be sure that the nonce is not predictable (CWE-330). [REF-332]
Mitigation
Identify especially dangerous operations. When the user performs a dangerous operation, send a separate confirmation request to ensure that the user intended to perform that operation.
Mitigation
- Use the "double-submitted cookie" method as described by Felten and Zeller:
- When a user visits a site, the site should generate a pseudorandom value and set it as a cookie on the user's machine. The site should require every form submission to include this value as a form value and also as a cookie value. When a POST request is sent to the site, the request should only be considered valid if the form value and the cookie value are the same.
- Because of the same-origin policy, an attacker cannot read or modify the value stored in the cookie. To successfully submit a form on behalf of the user, the attacker would have to correctly guess the pseudorandom value. If the pseudorandom value is cryptographically strong, this will be prohibitively difficult.
- This technique requires Javascript, so it may not work for browsers that have Javascript disabled. [REF-331]
Mitigation
Do not use the GET method for any request that triggers a state change.
Mitigation
Check the HTTP Referer header to see if the request originated from an expected page. This could break legitimate functionality, because users or proxies may have disabled sending the Referer for privacy reasons.
CAPEC-111: JSON Hijacking (aka JavaScript Hijacking)
An attacker targets a system that uses JavaScript Object Notation (JSON) as a transport mechanism between the client and the server (common in Web 2.0 systems using AJAX) to steal possibly confidential information transmitted from the server back to the client inside the JSON object by taking advantage of the loophole in the browser's Same Origin Policy that does not prohibit JavaScript from one website to be included and executed in the context of another website.
CAPEC-462: Cross-Domain Search Timing
An attacker initiates cross domain HTTP / GET requests and times the server responses. The timing of these responses may leak important information on what is happening on the server. Browser's same origin policy prevents the attacker from directly reading the server responses (in the absence of any other weaknesses), but does not prevent the attacker from timing the responses to requests that the attacker issued cross domain.
CAPEC-467: Cross Site Identification
An attacker harvests identifying information about a victim via an active session that the victim's browser has with a social networking site. A victim may have the social networking site open in one tab or perhaps is simply using the "remember me" feature to keep their session with the social networking site active. An attacker induces a payload to execute in the victim's browser that transparently to the victim initiates a request to the social networking site (e.g., via available social network site APIs) to retrieve identifying information about a victim. While some of this information may be public, the attacker is able to harvest this information in context and may use it for further attacks on the user (e.g., spear phishing).
CAPEC-62: Cross Site Request Forgery
An attacker crafts malicious web links and distributes them (via web pages, email, etc.), typically in a targeted manner, hoping to induce users to click on the link and execute the malicious action against some third-party application. If successful, the action embedded in the malicious link will be processed and accepted by the targeted application with the users' privilege level. This type of attack leverages the persistence and implicit trust placed in user session cookies by many web applications today. In such an architecture, once the user authenticates to an application and a session cookie is created on the user's system, all following transactions for that session are authenticated using that cookie including potential actions initiated by an attacker and simply "riding" the existing session cookie.