Description
The Islamic Database plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'islamicDB-roqya' shortcode in versions up to, and including, 1.0. This is due to insufficient input sanitization and output escaping on user-supplied 'width' and 'height' shortcode attributes within the islamicDB_sc_quran_qari_roqya() function, which are concatenated directly into HTML iframe attribute values. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2026-05-27
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Islamic Database plugin for WordPress contains a stored XSS flaw that originates from insufficient input sanitization and output escaping of the 'width' and 'height' attributes supplied to the islamicDB-roqya shortcode. These values are concatenated directly into an iframe element’s attributes, allowing an authenticated attacker with contributor or higher privileges to embed arbitrary JavaScript. When a site visitor loads a page that contains the malicious shortcode, the injected script runs in their browser, giving the attacker the ability to steal credentials, hijack sessions, or deface the site. The impact is limited to the users who view the compromised content but can be significant if the injected script accesses sensitive information or facilitates further attacks.

Affected Systems

WordPress sites that have the Islamic Database plugin up to and including version 1.0 installed. Any user with contributor level access or higher who can insert or edit posts using the islamicDB-roqya shortcode is capable of exploiting the vulnerability.

Risk and Exploitability

The CVSS score of 6.4 reflects a moderate severity due to the requirement of legitimate contributor privileges and the need to inject the payload via the shortcode. The EPSS score is not available and the issue is not listed in the CISA KEV catalog, indicating that no publicly known exploits are currently documented. Nonetheless, the conditions for exploitation are straightforward: acquire contributor access and place malicious attributes in a post. Once the payload is stored in the site’s database, any visitor to pages containing the shortcode will be affected, enabling widespread cross‑site scripting attacks.

Generated by OpenCVE AI on May 27, 2026 at 07:25 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Islamic Database plugin to the latest version that addresses the vulnerability, or uninstall the plugin if it is no longer required.
  • If a patch is not available, restrict the use of the islamicDB-roqya shortcode for contributor and higher roles by removing it from post content or blocking edit permissions for that shortcode.
  • Apply an additional input sanitization measure or use a security plugin that escapes shortcodes, ensuring that the 'width' and 'height' attributes are properly encoded before rendering the iframe.

Generated by OpenCVE AI on May 27, 2026 at 07:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 27 May 2026 11:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 27 May 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Samiullah-kaifi
Samiullah-kaifi islamic Database
Wordpress
Wordpress wordpress
Vendors & Products Samiullah-kaifi
Samiullah-kaifi islamic Database
Wordpress
Wordpress wordpress

Wed, 27 May 2026 06:30:00 +0000

Type Values Removed Values Added
Description The Islamic Database plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'islamicDB-roqya' shortcode in versions up to, and including, 1.0. This is due to insufficient input sanitization and output escaping on user-supplied 'width' and 'height' shortcode attributes within the islamicDB_sc_quran_qari_roqya() function, which are concatenated directly into HTML iframe attribute values. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Islamic Database <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode Attributes
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Samiullah-kaifi Islamic Database
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-05-27T10:34:17.783Z

Reserved: 2026-05-18T15:27:50.083Z

Link: CVE-2026-8845

cve-icon Vulnrichment

Updated: 2026-05-27T10:34:12.776Z

cve-icon NVD

Status : Received

Published: 2026-05-27T07:16:15.570

Modified: 2026-05-27T07:16:15.570

Link: CVE-2026-8845

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-27T10:07:08Z

Weaknesses