← Vulnerability feed

Vulnerability record · CVE-2021-41765 · published 15 November 2021

CVE-2021-41765: ResourceSpace unauthenticated SQL injection in add_keyword.php

Montala · Resourcespace

ResourceSpace 9.5 and 9.6 before rev 18274 contains a SQL injection flaw in pages/edit_fields/9_ajax/add_keyword.php reachable through the k parameter. Because the endpoint is unauthenticated, an attacker can read the full database, including user session cookies, and an admin session cookie then enables code execution on the server.

9.8 CVSS 3.1 Critical EPSS 68% · top 0.7% CWE-89 · SQL injection
9.8CVSS 3.1 base score, v2 7.5
68%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

A SQL injection issue in pages/edit_fields/9_ajax/add_keyword.php of ResourceSpace 9.5 and 9.6 < rev 18274 allows remote unauthenticated attackers to execute arbitrary SQL commands via the k parameter. This allows attackers to uncover the full contents of the ResourceSpace database, including user session cookies. An attacker who gets an admin user session cookie can use the session cookie to execute arbitrary code on the server.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or user interaction required, high EPSS, and a documented exploit reference make this an urgent patch target.

What it is

ResourceSpace 9.5 and 9.6 before rev 18274 contains a SQL injection flaw in pages/edit_fields/9_ajax/add_keyword.php reachable through the k parameter. Because the endpoint is unauthenticated, an attacker can read the full database, including user session cookies, and an admin session cookie then enables code execution on the server.

Impact

An attacker gains full read access to the ResourceSpace database, including session cookies, and can escalate to arbitrary code execution on the server by reusing a stolen admin session.

Attack surface

Reached remotely over the network via the k parameter of the add_keyword.php endpoint; the CVSS vector shows no privileges and no user interaction required, so it is unauthenticated.

Exploitation

Not listed in CISA KEV, but EPSS is 0.67845 (99.283 percentile) and a third-party reference is tagged Exploit, indicating public exploit material exists.

What to do

  • Upgrade ResourceSpace to revision 18274 or later, or the current supported release.
  • If patching is delayed, restrict network access to pages/edit_fields/9_ajax/add_keyword.php and the edit_fields AJAX endpoints.
  • Rotate all user and admin session cookies and invalidate active sessions after patching.
  • Apply input validation or parameterized queries to the k parameter as a temporary code-level fix.
  • Review database and web server logs for prior exploitation attempts.

Detection

  • Search web logs for requests to pages/edit_fields/9_ajax/add_keyword.php with suspicious or SQL-like k parameter values.
  • Alert on SQL error strings or unexpected query patterns in ResourceSpace application and database logs.
  • Monitor for anomalous admin session activity or logins from new source addresses.
  • Watch for outbound connections or process spawning from the web server that could indicate post-exploitation code execution.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2021-41765 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.1CVE-2021-41950ResourceSpace unauthenticated path traversal allows arbitrary file deletionResourceSpace 9.6 before rev 18277 is vulnerable to directory traversal in pages/ajax/tiles.php via the provider and variant parameters. A remote una…EPSS 75%analysed8.8CVE-2019-25662Montala resourcespace sql injection vulnerabilityResourceSpace 8.6 contains an SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicio…EPSS 0.42%7.5CVE-2015-6915Montala resourcespace sql injection vulnerabilitySQL injection vulnerability in Montala Limited ResourceSpace 7.3.7009 and earlier allows remote attackers to execute arbitrary SQL commands via the "…EPSS 1.8%7.5CVE-2015-3648Montala resourcespace path traversal vulnerabilityDirectory traversal vulnerability in pages/setup.php in Montala Limited ResourceSpace before 7.2.6727 allows remote attackers to include and execute …EPSS 8.0%7.1CVE-2019-25693Montala resourcespace cross-site request forgery vulnerabilityResourceSpace 8.6 contains an SQL injection vulnerability that allows authenticated attackers to execute arbitrary SQL queries by injecting malicious…EPSS 0.16%6.5CVE-2022-31260Montala resourcespace missing authentication for critical function vulnerabilityIn Montala ResourceSpace through 9.8 before r19636, csv_export_results_metadata.php allows attackers to export collection metadata via a non-NULL k v…EPSS 2.0%6.1CVE-2021-41951ResourceSpace reflected XSS in WordPress SSO pluginResourceSpace before 9.6 rev 18290 contains a reflected cross-site scripting flaw in plugins/wordpress_sso/pages/index.php, reachable through the wor…EPSS 78%analysed5.0CVE-2011-4311Montala resourcespace improper input validation vulnerabilityResourceSpace before 4.2.2833 does not properly validate access keys, which allows remote attackers to bypass intended resource restrictions via unsp…EPSS 1.4%

Source: NIST National Vulnerability Database (record CVE-2021-41765), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.