VietQR Security & Risk Analysis

wordpress.org/plugins/vietqr

Tự động tạo mã QR ngân hàng cho từng đơn hàng. Mã QR sẽ nhúng sẵn số tiền, mã đơn hàng, người mua quét QR xong chỉ cần bấm xác nhận là chuyển xong nga …

4K active installs v3.5.3 PHP 7.0+ WP 4.7+ Updated Jun 6, 2024
qrcodetechcombankviet-qrvietcombankvietqr
92
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is VietQR Safe to Use in 2026?

Generally Safe

Score 92/100

VietQR has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 1yr ago
Risk Assessment

The VietQR plugin v3.5.3 demonstrates a strong security posture based on the provided static analysis. The absence of identified AJAX handlers, REST API routes, shortcodes, and cron events with or without authentication significantly limits its attack surface. The code further strengthens this by avoiding dangerous functions and exclusively using prepared statements for SQL queries, which is excellent practice. File operations and external HTTP requests are also minimal, and there are no recorded vulnerabilities in its history, indicating a well-maintained and secure plugin.

However, there are a few areas that warrant attention. The fact that 25% of the 36 output escapes are not properly sanitized presents a potential risk for cross-site scripting (XSS) vulnerabilities, especially if these outputs are user-controllable. Furthermore, the lack of nonce checks and capability checks across all entry points, combined with 0 unprotected entry points, suggests that either the plugin has no interactive entry points that would require such checks, or these checks are entirely missing. If there are any, even hidden, interactive components, this absence could be a significant oversight. The bundled Select2 library, while common, should ideally be kept up-to-date to mitigate any potential vulnerabilities within it.

In conclusion, the VietQR plugin v3.5.3 exhibits many positive security attributes, particularly in its handling of database queries and overall attack surface. The main concerns lie in the potential for XSS due to imperfect output escaping and the complete absence of nonce and capability checks. The lack of historical vulnerabilities is a strong positive, but the static analysis reveals areas where further hardening would be beneficial.

Key Concerns

  • Improper output escaping detected
  • No nonce checks implemented
  • No capability checks implemented
  • Bundled library (Select2) potentially outdated
Vulnerabilities
None known

VietQR Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

VietQR Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
9
27 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
2
Bundled Libraries
1

Bundled Libraries

Select2

Output Escaping

75% escaped36 total outputs
Attack Surface

VietQR Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
actionwoocommerce_thankyou_vietqrclasses\class-wc-gateway-vietqr.php:100
actionwoocommerce_email_before_order_tableclasses\class-wc-gateway-vietqr.php:102
actionwoocommerce_api_vietqr/developerclasses\class-wc-gateway-vietqr.php:103
actionplugins_loadedwc-gateway-vietqr.php:28
filterwoocommerce_payment_gatewayswc-gateway-vietqr.php:36
actionplugins_loadedwc-gateway-vietqr.php:37
actionwoocommerce_blocks_loadedwc-gateway-vietqr.php:45
actionwoocommerce_blocks_payment_method_type_registrationwc-gateway-vietqr.php:50
actioninitwc-gateway-vietqr.php:59
Maintenance & Trust

VietQR Maintenance & Trust

Maintenance Signals

WordPress version tested6.0.11
Last updatedJun 6, 2024
PHP min version7.0
Downloads24K

Community Trust

Rating100/100
Number of ratings4
Active installs4K
Developer Profile

VietQR Developer Profile

diepmagik

2 plugins · 4K total installs

73
trust score
Avg Security Score
92/100
Avg Patch Time
477 days
View full developer profile
Detection Fingerprints

How We Detect VietQR

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/vietqr/assets/css/custom.css

HTML / DOM Fingerprints

Data Attributes
data-gateway="vietqr"
JS Globals
window.VietQR
REST Endpoints
/wp-json/vietqr/developer
FAQ

Frequently Asked Questions about VietQR